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"
// }
// }
}