From 9f360c3b8bac3ad44588d05664a123b7d42126c4 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sat, 6 Jul 2024 22:22:58 +0530 Subject: Dots Changes * Waybar Changes * Fixes Keyboard-state (Need to add user to input group) * Adds Limit to mpc title * Icon Music Play state Display --- waybar/config.jsonc | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'waybar/config.jsonc') diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 7a0ad4156..05adf5e9b 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -8,10 +8,10 @@ // Choose the order of the modules "modules-left": [ "hyprland/workspaces", - "sway/mode", - "sway/scratchpad", - "custom/media", - "custom/keyboard-state" +// "sway/mode", +// "sway/scratchpad", +// "custom/media", + "keyboard-state" ], "modules-center": [ // "group/quicklinks", @@ -29,7 +29,7 @@ "custom/mem", // "temperature", "backlight", - "keyboard-state", + //"keyboard-state", "sway/language", "battery", "battery#bat2", @@ -51,14 +51,16 @@ "*": 5 } }, - "custom/keyboard-state": { - "numlock": true, + "keyboard-state": { + "numlock": false, + "interval": 1, "capslock": true, "format": "{name} {icon}", "format-icons": { "locked": "", "unlocked": "" - } + }, + "device-path": "/dev/input/event5" }, "sway/mode": { "format": "{}" @@ -71,7 +73,7 @@ "tooltip-format": "{app}: {title}" }, "mpd": { - "format": " Playing", + "format": "{stateIcon} - {title}", //{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}%  "format-disconnected": "Disconnected ", "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", @@ -96,7 +98,8 @@ }, "tooltip-format": "{album} - {title}", "tooltip-format-disconnected": "MPD (disconnected)", - "on-click": "mpc toggle" + "on-click": "mpc toggle", + "title-len": 20 }, "idle_inhibitor": { "format": "{icon}", -- cgit v1.2.3