aboutsummaryrefslogtreecommitdiffstats
path: root/waybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'waybar/config')
-rw-r--r--waybar/config6
1 files changed, 5 insertions, 1 deletions
diff --git a/waybar/config b/waybar/config
index 2c1ef87..b85f779 100644
--- a/waybar/config
+++ b/waybar/config
@@ -2,7 +2,11 @@
"height": 30,
"spacing": 4,
"modules-left": ["sway/workspaces", "sway/mode"],
- "modules-right": ["tray", "idle_inhibitor", "custom/scratchpad_indicator", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"],
+ "modules-right": ["tray", "custom/lock", "custom/scratchpad_indicator", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"],
+ "custom/lock": {
+ "format": " ",
+ "on-click": "swaylock"
+ },
"custom/spotify": {
"exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify",
"format": "{}",