-
Notifications
You must be signed in to change notification settings - Fork 850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for swaync #1438
base: main
Are you sure you want to change the base?
feat: support for swaync #1438
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
"$schema": "/etc/xdg/swaync/configSchema.json", | ||
"positionX": "right", | ||
"positionY": "bottom", | ||
"cssPriority": "application", | ||
"control-center-width": 380, | ||
"control-center-height": 1000, | ||
"control-center-margin-top": 2, | ||
"control-center-margin-bottom": 2, | ||
"control-center-margin-right": 1, | ||
"control-center-margin-left": 0, | ||
"notification-icon-size": 64, | ||
"notification-window-width": 600, | ||
"notification-body-image-height": 200, | ||
"notification-body-image-width": 200, | ||
"timeout": 10, | ||
"timeout-low": 5, | ||
"timeout-critical": 0, | ||
"fit-to-screen": false, | ||
"keyboard-shortcuts": true, | ||
"image-visibility": "when-available", | ||
"transition-time": 200, | ||
"script-fail-notify": true, | ||
"hide-on-clear": false, | ||
"hide-on-action": true, | ||
"notification-visibility": { | ||
"example-name": { | ||
"state": "muted", | ||
"urgency": "Low", | ||
"app-name": "Spotify" | ||
} | ||
}, | ||
"widgets": [ | ||
"buttons-grid", | ||
"volume", | ||
"backlight", | ||
"mpris", | ||
"dnd", | ||
"title", | ||
"notifications" | ||
], | ||
"widget-config": { | ||
"title": { | ||
"text": "Notifications", | ||
"clear-all-button": true, | ||
/* "button-text": " " */ | ||
"button-text": "Clear All" | ||
}, | ||
"dnd": { | ||
"text": "Do Not Disturb" | ||
}, | ||
"mpris": { | ||
"image-size": 96, | ||
"image-radius": 12 | ||
}, | ||
"backlight": { | ||
"label": " ", | ||
"device": "intel_backlight", | ||
"min": 10 | ||
}, | ||
"volume": { | ||
"label": " " | ||
}, | ||
"buttons-grid": { | ||
"actions": [ | ||
{ | ||
"label": " ", | ||
"command": "nm-connection-editor" | ||
}, | ||
{ | ||
"label": " ", | ||
"command": "blueman-manager" | ||
}, | ||
{ | ||
"label": " ", | ||
"command": "hyprshade toggle bluefilter" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the command should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have a custom 'shader' file called 'bluefilter' There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have a custom shader file called 'bluefilter' |
||
}, | ||
{ | ||
"label": " ", | ||
"command": "sh -c ~/.config/hypr/scripts/logoutlaunch.sh" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the script dir is changed to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm aware of that, but as I mentioned in the Additional context:
So I left it as it is for further changes |
||
} | ||
] | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'exe' should be 'exec'.
Also, maybe this keybind should be moved to application shortcuts instead of being in its own category?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed and moved it to the app category