Make waybar work with hyprland
This commit is contained in:
@ -4,8 +4,8 @@
|
|||||||
"height": 26, // Waybar height (to be removed for auto height)
|
"height": 26, // Waybar height (to be removed for auto height)
|
||||||
// "width": 1280, // Waybar width
|
// "width": 1280, // Waybar width
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode", "hyprland/workspaces"],
|
||||||
"modules-center": ["sway/window"],
|
"modules-center": ["sway/window", "hyprland/window"],
|
||||||
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "custom/mullvad", "cpu", "memory", "temperature", "backlight", "sway/language", "battery", "battery#bat2", "clock", "tray"],
|
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "custom/mullvad", "cpu", "memory", "temperature", "backlight", "sway/language", "battery", "battery#bat2", "clock", "tray"],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
// "sway/workspaces": {
|
// "sway/workspaces": {
|
||||||
|
|||||||
@ -51,12 +51,20 @@ window#waybar.chromium {
|
|||||||
box-shadow: inset 0 -3px #ffffff;
|
box-shadow: inset 0 -3px #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* active workspace, sway */
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
background-color: #f5deb3;
|
background-color: #f5deb3;
|
||||||
color: #696969;
|
color: #696969;
|
||||||
box-shadow: inset 0 -3px #4b4437;
|
box-shadow: inset 0 -3px #4b4437;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* active workspace, hyprland */
|
||||||
|
#workspaces button.active {
|
||||||
|
background-color: #f5deb3;
|
||||||
|
color: #696969;
|
||||||
|
box-shadow: inset 0 -3px #4b4437;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button.urgent {
|
#workspaces button.urgent {
|
||||||
background-color: #eb4d4b;
|
background-color: #eb4d4b;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user