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

View File

@@ -11,7 +11,8 @@
window#waybar {
/* background: rgba(0,130,130,0); */
background: @base;
/* background: rgba(0,0,0,0.9); */
background: transparent;
}
#clock,
@@ -25,14 +26,22 @@ window#waybar {
#custom-notification,
#tray,
#battery{
background: rgba(10,10,10,100);
opacity: 0.8;
/* background: rgba(10,10,10,100); */
background: @crust;
/* opacity: 0.8; */
/* color: #00ffff; */
color: @mauve;
padding: 0px 10px ;
margin: 3px 0px;
}
#custom-separator {
background: @crust;
color: @mauve;
padding: 0px 2px ;
margin: 1px 0px;
}
#workspaces button{
color: @mauve;
border-radius: 7px;
@@ -62,11 +71,11 @@ window#waybar {
background: none;
}
#network{
#network {
border-radius: 10px 0px 0px 10px;
}
#tray{
#tray {
border-radius: 0px 10px 10px 0px;
margin-right: 5px
}