sway: add wlogout, waybar power button, layer effects

This commit is contained in:
Fabio Scotto di Santolo
2026-05-17 15:32:26 +02:00
parent f7e7313246
commit a69edfbf43
8 changed files with 84 additions and 15 deletions

View File

@@ -6,7 +6,7 @@
"modules-left": ["sway/workspaces"],
"modules-center": [],
"modules-right": ["cpu", "memory", "disk", "temperature", "backlight", "network", "pulseaudio", "battery", "tray", "clock"],
"modules-right": ["cpu", "memory", "disk", "temperature", "backlight", "network", "pulseaudio", "battery", "tray", "clock", "custom/power"],
"sway/workspaces": {
"disable-scroll": true,
@@ -97,5 +97,11 @@
"tray": {
"icon-size": 16,
"spacing": 6
},
"custom/power": {
"format": "⏻",
"tooltip": false,
"on-click": "wlogout -b 3 -c 0 -r 0"
}
}