sway tweaks

This commit is contained in:
Henrik Bakken
2025-05-15 12:09:03 +02:00
parent 0c8d4f76a8
commit 90a2f6eb0d
9 changed files with 87 additions and 428 deletions
+1 -18
View File
@@ -61,7 +61,7 @@
},
"include": "~/.config/waybar/local_config.jsonc",
"modules-right": ["tray", "pulseaudio", "custom/scratchpad", "custom/theme", "clock"],
"modules-right": ["tray", "pulseaudio", "custom/scratchpad", "clock"],
"pulseaudio": {
"scroll-step": 5,
"format": "{icon} {volume}%{format_source}",
@@ -91,23 +91,6 @@
"on-click": "swaymsg 'scratchpad show'",
"signal": 7
},
"custom/theme": {
"format": "{icon}",
"interval": 300,
"tooltip": true,
"format-icons": {
"light": "",
"dark": "",
"auto_light": "󱩷",
"auto_dark": "󱩸"
},
"return-type": "json",
"exec-if": "/usr/share/sway/scripts/theme-toggle.sh check",
"exec": "/usr/share/sway/scripts/theme-toggle.sh status",
"on-click": "/usr/share/sway/scripts/theme-toggle.sh toggle",
"on-click-right": "/usr/share/sway/scripts/theme-toggle.sh auto-toggle",
"signal": 17
},
"tray": {
"icon-size": 21,
"spacing": 10