This commit is contained in:
2026-08-16 20:02:07 +02:00
parent afdc1c9c72
commit 9995a52d93
5 changed files with 605 additions and 29 deletions
+16 -15
View File
@@ -9,8 +9,10 @@
"modules-left": [
"river/tags",
"sway/workspaces",
"niri/workspaces",
"river/window",
"sway/window"
"sway/window",
"niri/window"
],
"modules-center": [
"clock"
@@ -25,7 +27,6 @@
"memory",
"backlight",
"battery",
"tray",
"custom/power"
],
// Modules configuration
@@ -56,7 +57,7 @@
"memory": {
"format": "mem {icon}",
"format-icons": [ "⡀", "⣀", "⣄", "⣤", "⣦", "⣶", "⣷", "⣿" ],
"tooltip-format": "{}%"
"tooltip-format": "{used} GiB / {total} GiB ({percentage}%)\nswap: {swapUsed} GiB / {swapTotal} GiB ({swapPercentage}%, {swapState})"
},
"temperature": {
// "thermal-zone": 2,
@@ -134,16 +135,16 @@
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/power": {
"format": "⏻ ",
"tooltip": false,
"menu": "on-click",
"menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
"menu-actions": {
"shutdown": "shutdown",
"reboot": "reboot",
"suspend": "systemctl suspend",
"hibernate": "systemctl hibernate"
}
}
// "custom/power": {
// "format": "pow ",
// "tooltip": false,
// "menu": "on-click",
// "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder
// "menu-actions": {
// "shutdown": "shutdown",
// "reboot": "reboot",
// "suspend": "systemctl suspend",
// "hibernate": "systemctl hibernate"
// }
// }
}
+8 -11
View File
@@ -48,20 +48,22 @@ button:hover {
box-shadow: inset 0 -3px #ffffff;
}
#tags button {
#workspaces button {
color: #7f7f7f;
}
#tags button:hover {
background: rgba(0, 0, 0, 0.2);
#workspaces button:hover {
background: rgba(0, 0, 0, 0.1);
}
#tags button.focused {
background-color: rgba(30, 30, 30, 0.7);
#workspaces button.focused {
background-color: rgba(30, 30, 30, 0.6);
color: #ffffff;
/* color: #7f7f7f; */
box-shadow: inset 0 -3px #ffffff;
}
#tags button.urgent {
#workspaces button.urgent {
background-color: #eb4d4b;
}
@@ -117,11 +119,6 @@ button:hover {
#battery.critical:not(.charging) {
background-color: #f53c3c;
color: #ffffff;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: steps(12);
animation-iteration-count: infinite;
animation-direction: alternate;
}
#language {