hibernate & waybar & maybe some other things

This commit is contained in:
2026-01-26 21:12:31 +01:00
parent 2586d31db5
commit ea1eb4b73d
5 changed files with 79 additions and 23 deletions

View File

@@ -3,19 +3,42 @@
"position": "top",
"height": 38,
"spacing": 0,
"modules-left": ["clock", "niri/workspaces", "hyprland/submap"],
"modules-left": ["clock", "niri/workspaces"],
"modules-center": [ ],
"modules-right": ["network", "cpu", "memory", "custom/keyboard-layout", "custom/notification", "pulseaudio", "tray"],
"modules-right": [
"network",
"custom/separator",
"cpu",
"custom/separator",
"memory",
"custom/separator",
"custom/notification",
"custom/separator",
"pulseaudio",
"custom/separator",
"tray"
],
"custom/keyboard-layout": {
"interval": 1,
"exec": "hyprctl devices -j | jq -r '.keyboards[] | .active_keymap' | head -n1 | cut -c1-2 | tr 'a-z' 'A-Z'"
},
"tray": {
"spacing": 10,
"show-passive-items": true
},
"custom/notification": {
"on-click": "swaync-client -t",
"format": "♥"
},
"custom/keyboard-layout": {
"interval": 1,
"exec": "hyprctl devices -j | jq -r '.keyboards[] | .active_keymap' | head -n1 | cut -c1-2 | tr 'a-z' 'A-Z'"
},
"custom/separator": {
"format": "|",
"interval": "once",
"tooltip": false
},
"custom/notification": {
"on-click": "swaync-client -t",
"format": "♥"
},
"cpu": {
"interval": 5,
@@ -39,8 +62,11 @@
},
"network": {
"format-wifi": " {essid} {signalStrength}%",
"format-disconnected": " No Connection"
"interval": 1,
"format": "{ifname}",
"format-wifi": " {signalStrength}%  {bandwidthDownBytes}  {bandwidthUpBytes} {ipaddr} {essid}",
"format-disconnected": "No Connection",
"format-ethernet": " {bandwidthDownBytes}  {bandwidthUpBytes} {ipaddr}"
}