1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

waybar: update

This commit is contained in:
Henrik Hautakoski 2025-09-08 00:02:31 +02:00
parent 3642636a47
commit 23bb87d19e
2 changed files with 27 additions and 3 deletions

View file

@ -10,26 +10,41 @@
"hyprland/workspaces",
],
"modules-center": [
"hyprland/window",
],
"modules-right": [
"tray",
"network",
"cpu",
"memory",
"clock"
],
// Modules configuration
"hyprland/workspaces": {
"format": "{name}",
"format": "{id}<sup>{icon}</sup>",
"format-icons": {
"default": "",
"urgent": "*",
},
"all-outputs": true,
"expand": true,
},
"tray": {
"icon-size": 24,
"spacing": 10
},
"network": {
"format-ethernet": " {ifname}",
"format-wifi": " {ifname}",
"format-disconnected": "󰲛 ",
"tooltip-format": "{ipaddr} via {gwaddr}",
"tooltip-format-disconnected": "Disconnected",
},
"clock": {
"interval": 1,
"format": "{:%H:%M:%S %d}",
"format": "{:%H:%M:%S %a %d}",
// "format": "{:%H:%M:%S %Y-%m-%d}",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
"tooltip-format": "{calendar}"
},
"cpu": {
"format": " {usage}%",

View file

@ -50,3 +50,12 @@ button.focused {
#clock {
color: @mauve;
}
#network {
color: @lavender;
}
#network.disabled,
#network.disconnected {
color: @red;
}