Prefer keyboard-state over keyboard_state

This commit is contained in:
Grant Moyer
2021-07-23 09:45:07 -04:00
parent 311c5779ea
commit 88a5f713ed
5 changed files with 14 additions and 14 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", "keyboard_state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
@ -23,7 +23,7 @@
// "default": ""
// }
// },
"keyboard_state": {
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",

View File

@ -229,7 +229,7 @@ label:focus {
min-width: 16px;
}
#keyboard_state {
#keyboard-state {
background: #97e1ad;
color: #000000;
padding: 0 0px;
@ -237,10 +237,10 @@ label:focus {
min-width: 16px;
}
#keyboard_state > label {
#keyboard-state > label {
padding: 0 5px;
}
#keyboard_state > label.locked {
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}