Wallpaper rotation applet

This commit is contained in:
John Mertz 2022-09-23 17:40:56 -04:00
parent d406fd57b4
commit 1a52968ed8
1 changed files with 6 additions and 1 deletions

View File

@ -38,7 +38,7 @@
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["sway/workspaces"], "modules-left": ["sway/workspaces"],
"modules-center": [], "modules-center": [],
"modules-right": ["custom/weather", "network", "network#wireguard", "cpu", "memory", "custom/disk", "temperature", "backlight", "custom/battery", "pulseaudio","tray", "custom/todo", "custom/osk", "custom/pkg", "custom/bar", "custom/gammastep", "idle_inhibitor", "custom/clock", "custom/power"], "modules-right": ["custom/weather", "network", "network#wireguard", "cpu", "memory", "custom/disk", "temperature", "backlight", "custom/battery", "pulseaudio","tray", "custom/wallpaper", "custom/todo", "custom/osk", "custom/pkg", "custom/bar", "custom/gammastep", "idle_inhibitor", "custom/clock", "custom/power"],
// Modules configuration // Modules configuration
"sway/workspaces": { "sway/workspaces": {
// "disable-scroll": true, // "disable-scroll": true,
@ -162,6 +162,11 @@
"icon-size": 24, "icon-size": 24,
"spacing": 0 "spacing": 0
}, },
"custom/wallpaper": {
"interval": 86400,
"exec": "echo '🌌\nRotate wallpaper\nactive'",
"on-click": "${HOME}/scripts/sway/rotate-wallpaper.sh"
},
"custom/todo": { "custom/todo": {
"format": "🗈", "format": "🗈",
"on-click": "${HOME}/scripts/waybar/waybar-todo.sh", "on-click": "${HOME}/scripts/waybar/waybar-todo.sh",