migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
23b6c0a596
265 changed files with 62 additions and 3125 deletions
159
configs/swaync/config.json
Normal file
159
configs/swaync/config.json
Normal file
|
|
@ -0,0 +1,159 @@
|
|||
{
|
||||
"$schema": "/etc/xdg/swaync/configSchema.json",
|
||||
"ignore-gtk-theme": true,
|
||||
"positionX": "right",
|
||||
"positionY": "top",
|
||||
"cssPriority": "user",
|
||||
|
||||
"hide-on-clear": true,
|
||||
"hide-on-action": true,
|
||||
|
||||
"relative-timestamps": true,
|
||||
"keyboard-shortcuts": true,
|
||||
"notification-grouping": true,
|
||||
|
||||
"layer": "overlay",
|
||||
"control-center-layer": "top",
|
||||
"layer-shell": true,
|
||||
"layer-shell-cover-screen": true,
|
||||
|
||||
"control-center-width": 500,
|
||||
"control-center-height": 600,
|
||||
"control-center-margin-top": 10,
|
||||
"control-center-margin-bottom": 10,
|
||||
"control-center-margin-right": 10,
|
||||
"control-center-margin-left": 10,
|
||||
|
||||
"notification-2fa-action": true,
|
||||
"notification-inline-replies": false,
|
||||
"notification-body-image-height": 100,
|
||||
"notification-body-image-width": 200,
|
||||
"notification-window-width": 500,
|
||||
|
||||
"timeout": 10,
|
||||
"timeout-low": 5,
|
||||
"timeout-critical": 0,
|
||||
|
||||
"fit-to-screen": true,
|
||||
|
||||
"image-visibility": "when-available",
|
||||
"transition-time": 500,
|
||||
|
||||
"text-empty": "No Notifications",
|
||||
"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": "Spotify"
|
||||
}
|
||||
},
|
||||
"widgets": [
|
||||
"buttons-grid",
|
||||
"volume",
|
||||
"mpris",
|
||||
"title",
|
||||
"notifications",
|
||||
"inhibitors",
|
||||
"dnd"
|
||||
],
|
||||
"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"
|
||||
},
|
||||
"volume": {
|
||||
"label": " ",
|
||||
"expand-button-label": " ",
|
||||
"collapse-button-label": " ",
|
||||
"show-per-app": true
|
||||
},
|
||||
"mpris": {
|
||||
"blacklist": [],
|
||||
"autohide": true,
|
||||
"show-album-art": "always",
|
||||
"loop-carousel": false,
|
||||
"image-size": 80
|
||||
},
|
||||
"buttons-grid": {
|
||||
"buttons-per-row": 5,
|
||||
"actions": [
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && tailscale up || tailscale down'",
|
||||
"update-command": "sh -c 'tailscale status >/dev/null && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && systemctl --user stop hypridle || systemctl --user start hypridle'",
|
||||
"update-command": "sh -c 'systemctl --user is-active hypridle -q && echo false || echo true'"
|
||||
},
|
||||
|
||||
{
|
||||
"label": "",
|
||||
"type": "toggle",
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && bluetoothctl -- power off || bluetoothctl -- power on'",
|
||||
"update-command": "sh -c '[[ -n $(bluetoothctl show | grep \\\"PowerState: on\\\") ]] && echo true || echo false'",
|
||||
"right-click-command": "blueman-manager",
|
||||
"tooltip": "Bluetooth"
|
||||
},
|
||||
{
|
||||
"label": " ",
|
||||
"type": "toggle",
|
||||
"active": false,
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && pactl set-source-mute @DEFAULT_SOURCE@ 1 || pactl set-source-mute @DEFAULT_SOURCE@ 0'",
|
||||
"update-command": "sh -c '[[ $(pactl get-source-mute @DEFAULT_SOURCE@) == *yes* ]] && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": " ",
|
||||
"type": "toggle",
|
||||
"active": false,
|
||||
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && pactl set-sink-mute @DEFAULT_SINK@ 1 || pactl set-sink-mute @DEFAULT_SINK@ 0'",
|
||||
"update-command": "sh -c '[[ $(pactl get-sink-mute @DEFAULT_SINK@) == *yes* ]] && echo true || echo false'"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "reboot",
|
||||
"tooltip": "Reboot"
|
||||
},
|
||||
{
|
||||
"label": "⏻",
|
||||
"command": "shutdown now",
|
||||
"tooltip": "Power Off"
|
||||
},
|
||||
{
|
||||
"label": "",
|
||||
"command": "hyprlock",
|
||||
"tooltip": "Lock"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue