diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-12-27 00:37:26 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-12-27 00:37:26 +0900 |
| commit | 0bdc93e101308e6aa43438dcb0de67182a865622 (patch) | |
| tree | 3f575f19ed474a10451f30d2f6ba6e031a1cafaf /config/swaync/config.json | |
| parent | 453d8b3f439d022569ea0b077e7c69039d96746a (diff) | |
updated swaync
Diffstat (limited to 'config/swaync/config.json')
| -rw-r--r-- | config/swaync/config.json | 167 |
1 files changed, 91 insertions, 76 deletions
diff --git a/config/swaync/config.json b/config/swaync/config.json index 1f9de0e4..591757b7 100644 --- a/config/swaync/config.json +++ b/config/swaync/config.json @@ -1,78 +1,93 @@ { - "$schema": "/etc/xdg/swaync/configSchema.json", - "positionX": "right", - "positionY": "top", - "layer": "overlay", - "control-center-layer": "top", - "layer-shell": true, - "cssPriority": "application", - "control-center-margin-top": 0, - "control-center-margin-bottom": 0, - "control-center-margin-right": 0, - "control-center-margin-left": 0, - "notification-2fa-action": true, - "notification-inline-replies": false, - "notification-icon-size": 64, - "notification-body-image-height": 100, - "notification-body-image-width": 200, - "timeout": 10, - "timeout-low": 5, - "timeout-critical": 0, - "fit-to-screen": true, - "control-center-width": 500, - "control-center-height": 600, - "notification-window-width": 500, - "keyboard-shortcuts": true, - "image-visibility": "when-available", - "transition-time": 200, - "hide-on-clear": false, - "hide-on-action": true, - "script-fail-notify": true, - // "scripts": { - // "example-script": { - // "exec": "echo 'Do something...'", - // "urgency": "Normal" - // }, - // "example-action-script": { - // "exec": "echo 'Do something actionable!'", - // "urgency": "Normal", - // "run-on": "action" - // } - // }, - "notification-visibility": { - "example-name": { - "state": "muted", - "urgency": "Low", - "app-name": "mpv" + "$schema": "/etc/xdg/swaync/configSchema.json", + "positionX": "right", + "positionY": "top", + "control-center-margin-top": 10, + "control-center-margin-bottom": 10, + "control-center-margin-right": 10, + "control-center-margin-left": 10, + "notification-icon-size": 24, + "notification-body-image-height": 60, + "notification-body-image-width": 300, + "timeout": 6, + "timeout-low": 3, + "timeout-critical": 0, + "fit-to-screen": false, + "control-center-width": 400, + "control-center-height": 800, + "notification-window-width": 300, + "keyboard-shortcuts": true, + "image-visibility": "when-available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": [ + "title", + "buttons-grid", + "dnd", + "volume", + "backlight", + "notifications" + ], + "widget-config": { + "title": { + "text": "Control Center", + "clear-all-button": true, + "button-text": "Clear" + }, + "dnd": { + "text": "Do Not Disturb" + }, + "label": { + "max-lines": 1, + "text": "Control Center" + }, + "mpris": { + "image-size": 60, + "image-radius": 7 + }, + "volume": { + "label": "" + }, + "backlight": { + "label": "" + }, + "buttons-grid": { + "actions": [ + { + "label": "", + "command": "systemctl poweroff" + }, + { + "label": "", + "command": "systemctl reboot" + }, + { + "label": "", + "command": "~/.config/hypr/scripts/LockScreen.sh" + }, + { + "label": "", + "command": "hyprctl dispatch exit" + }, + { + "label": "", + "command": "~/.config/hypr/scripts/AirplaneMode.sh" + }, + { + "label": "", + "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" + }, + { + "label": "", + "command": "pactl set-source-mute @DEFAULT_SOURCE@ toggle" + }, + { + "label": "", + "command": "blueman-manager" + } + ] + } } - }, - "widgets": [ - "inhibitors", - "title", - "dnd", - "notifications" - ], - "widget-config": { - "inhibitors": { - "text": "Inhibitors", - "button-text": "Clear All", - "clear-all-button": true - }, - "title": { - "text": "Notifications", - "clear-all-button": true, - "button-text": "Clear All" - }, - "dnd": { - "text": "Do Not Disturb" - }, - "label": { - "max-lines": 5, - "text": "Label Text" - }, - "mpris": { - "image-size": 96, - "image-radius": 12 - } - } -} +}
\ No newline at end of file |
