Dots Changes

* Waybar Changes
  * Fixes Keyboard-state (Need to add user to input group)
  * Adds Limit to mpc title
  * Icon Music Play state Display
This commit is contained in:
2024-07-06 22:22:58 +05:30
parent f0d37915e0
commit 9f360c3b8b
2 changed files with 59 additions and 25 deletions

View File

@@ -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}",