diff options
Diffstat (limited to 'waybar')
| -rw-r--r-- | waybar/config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/waybar/config b/waybar/config index 7e7b530..d36331c 100644 --- a/waybar/config +++ b/waybar/config @@ -2,7 +2,11 @@ "height": 30, "spacing": 4, "modules-left": ["sway/workspaces", "sway/mode"], - "modules-right": ["tray", "custom/spotify", "idle_inhibitor", "network", "cpu", "memory", "backlight", "pulseaudio", "battery", "clock"], + "modules-right": ["tray", "custom/lock", "custom/spotify", "idle_inhibitor", "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": "{}", |
