Move inhibitor to the right

This commit is contained in:
Salt 2024-02-15 02:19:28 -06:00
parent 5c4a03900d
commit ba197b44e5
2 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,9 @@
{
"layer": "top",
"height": 40,
"modules-left": ["sway/workspaces", "sway/mode", "idle_inhibitor"],
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["tray"],
"modules-right": ["mpris", "pulseaudio", "battery", "clock"],
"modules-right": ["idle_inhibitor", "mpris", "pulseaudio", "battery", "clock"],
"sway/workspaces": {
"disable-scroll": true,
"persistent_workspaces": {

View File

@ -60,13 +60,14 @@ window#waybar {
color: #282828;
}
#idle_inhibitor {
color: #282828;
padding: 0 1em;
}
#idle_inhibitor.deactivated {
color: #32302f;
background: #32302f;
}
#idle_inhibitor.activated {
color: #fb4934;
background: #fb4934;
}
#battery {
padding: 0 1em;