mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
waybar: update
This commit is contained in:
parent
3642636a47
commit
23bb87d19e
2 changed files with 27 additions and 3 deletions
|
|
@ -10,26 +10,41 @@
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
|
"hyprland/window",
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"tray",
|
"tray",
|
||||||
|
"network",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
"clock"
|
"clock"
|
||||||
],
|
],
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"format": "{name}",
|
"format": "{id}<sup>{icon}</sup>",
|
||||||
|
"format-icons": {
|
||||||
|
"default": "",
|
||||||
|
"urgent": "*",
|
||||||
|
},
|
||||||
|
"all-outputs": true,
|
||||||
|
"expand": true,
|
||||||
},
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 24,
|
"icon-size": 24,
|
||||||
"spacing": 10
|
"spacing": 10
|
||||||
},
|
},
|
||||||
|
"network": {
|
||||||
|
"format-ethernet": " {ifname}",
|
||||||
|
"format-wifi": " {ifname}",
|
||||||
|
"format-disconnected": " ",
|
||||||
|
"tooltip-format": "{ipaddr} via {gwaddr}",
|
||||||
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"format": "{:%H:%M:%S %d}",
|
"format": "{:%H:%M:%S %a %d}",
|
||||||
// "format": "{:%H:%M:%S %Y-%m-%d}",
|
// "format": "{:%H:%M:%S %Y-%m-%d}",
|
||||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
"tooltip-format": "{calendar}"
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": " {usage}%",
|
"format": " {usage}%",
|
||||||
|
|
|
||||||
|
|
@ -50,3 +50,12 @@ button.focused {
|
||||||
#clock {
|
#clock {
|
||||||
color: @mauve;
|
color: @mauve;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#network {
|
||||||
|
color: @lavender;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network.disabled,
|
||||||
|
#network.disconnected {
|
||||||
|
color: @red;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue