aboutsummaryrefslogtreecommitdiff
path: root/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'waybar/config.jsonc')
-rw-r--r--waybar/config.jsonc23
1 files changed, 13 insertions, 10 deletions
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": "<span style=\"italic\">{}</span>"
@@ -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}",