Add more configuaration

This commit is contained in:
Grant Moyer
2021-02-07 18:46:39 -05:00
parent 6dfa31fb17
commit 642e28166b
4 changed files with 89 additions and 18 deletions

View File

@ -6,7 +6,7 @@
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
"modules-center": ["sway/window"],
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "sway/language", "battery", "battery#bat2", "clock", "tray"],
"modules-right": ["keyboard_state", "mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "sway/language", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
@ -23,6 +23,16 @@
// "default": ""
// }
// },
"keyboard_state": {
"numlock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
},
"capslock": true,
"device-path": "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
@ -145,3 +155,4 @@
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}
}