Switch to taskbar on waybar
This commit is contained in:
parent
ac313f42cc
commit
fa03bde81b
|
@ -3,9 +3,14 @@
|
||||||
"height": 28, // Waybar height (to be removed for auto height)
|
"height": 28, // Waybar height (to be removed for auto height)
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
"output": "eDP-1",
|
"output": "eDP-1",
|
||||||
"modules-left": ["hyprland/window"],
|
"modules-left": ["wlr/taskbar"],
|
||||||
"modules-center": ["hyprland/workspaces"],
|
"modules-center": ["hyprland/workspaces"],
|
||||||
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock"],
|
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock"],
|
||||||
|
"wlr/taskbar": {
|
||||||
|
"on-click": "activate",
|
||||||
|
"on-click-right": "close",
|
||||||
|
"format": "{icon} {title:.15}"
|
||||||
|
},
|
||||||
"wireplumber": {
|
"wireplumber": {
|
||||||
"format": "{icon} {volume}%",
|
"format": "{icon} {volume}%",
|
||||||
"format-muted": "",
|
"format-muted": "",
|
||||||
|
|
|
@ -70,6 +70,18 @@ button:hover {
|
||||||
margin-right:2px;
|
margin-right:2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#taskbar button {
|
||||||
|
padding: 0 12px;
|
||||||
|
border-radius: 5px;
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #1f2430;
|
||||||
|
margin-left:2px;
|
||||||
|
margin-right:2px;
|
||||||
|
}
|
||||||
|
#taskbar button.active {
|
||||||
|
background-color: #002F5F;
|
||||||
|
}
|
||||||
|
|
||||||
#window {
|
#window {
|
||||||
font-weight:400;
|
font-weight:400;
|
||||||
margin-left:0;
|
margin-left:0;
|
||||||
|
|
Loading…
Reference in New Issue