From 410dca7c0be863d5e250e51caa6104e66238a09d Mon Sep 17 00:00:00 2001 From: LMBishop Date: Fri, 21 Apr 2023 19:06:50 +0100 Subject: Add shit --- waybar/config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'waybar') 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": "{}", -- cgit v1.2.3-70-g09d2