aboutsummaryrefslogtreecommitdiffstats
path: root/waybar
diff options
context:
space:
mode:
authorLMBishop <me@leonardobishop.com>2023-04-21 19:06:50 +0100
committerLMBishop <me@leonardobishop.com>2023-04-21 19:06:50 +0100
commit410dca7c0be863d5e250e51caa6104e66238a09d (patch)
tree123455b71e6ab76f0da554ad1cb6fbd10b5b4aa2 /waybar
parent2e67201f4100ecd95e051618c1969348e207408f (diff)
Add shit
Diffstat (limited to 'waybar')
-rw-r--r--waybar/config6
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": "{}",