More config tweaks

This commit is contained in:
David Heinemeier Hansson
2025-06-07 11:42:33 +02:00
parent b43a30d9cf
commit d6879b0cd0
2 changed files with 65 additions and 83 deletions

View File

@ -2,7 +2,7 @@
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"spacing": 0, "spacing": 0,
"height": 20, "height": 26,
"modules-left": [ "modules-left": [
"hyprland/workspaces" "hyprland/workspaces"
], ],
@ -10,10 +10,9 @@
"clock" "clock"
], ],
"modules-right": [ "modules-right": [
"bluetooth",
"network", "network",
"cpu", "cpu",
"battery", "battery"
], ],
"hyprland/workspaces": { "hyprland/workspaces": {
"on-click": "activate", "on-click": "activate",
@ -53,16 +52,15 @@
"cpu": { "cpu": {
"interval": 5, "interval": 5,
"format": "{usage}% 󰍛", "format": "{usage}% 󰍛",
"max-length": 10,
"on-click": "alacritty -e btop" "on-click": "alacritty -e btop"
}, },
"clock": { "clock": {
"tooltip-format": "{calendar}", "tooltip-format": "{calendar}",
"format-alt": " {:%a, %d %b %Y}", "format-alt": " {:%a, %d %b %Y}",
"format": "{:%H:%M}" "format": "{:%H:%M %A}"
}, },
"network": { "network": {
"format-wifi" : "{icon} ", "format-wifi" : "{bandwidthDownBytes:>6} {icon}",
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"], "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"],
"format-ethernet": "󰀂", "format-ethernet": "󰀂",
"format-alt" : "󱛇", "format-alt" : "󱛇",
@ -71,36 +69,21 @@
"tooltip-format-ethernet": "󰀂 {ifname}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", "tooltip-format-ethernet": "󰀂 {ifname}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
"tooltip-format-disconnected": "Disconnected", "tooltip-format-disconnected": "Disconnected",
"on-click": "~/.config/rofi/wifi/wifi.sh &", "on-click": "~/.config/rofi/wifi/wifi.sh &",
"on-click-right": "~/.config/rofi/wifi/wifinew.sh &",
"interval": 5, "interval": 5,
"nospacing": 1, "nospacing": 1,
}, },
"battery": { "battery": {
"interval": 5,
"format": "{capacity}% {icon}", "format": "{capacity}% {icon}",
"format-discharging": "↓ {power:>2.0f}W {icon}",
"format-charging": "↑ {power:>2.0f}W {icon}",
"format-plugged": "{capacity}%  {icon}",
"format-icons": { "format-icons": {
"charging": [ "charging": [
"󰢜", "󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋", "󰂅"
"󰂆",
"󰂇",
"󰂈",
"󰢝",
"󰂉",
"󰢞",
"󰂊",
"󰂋",
"󰂅"
], ],
"default": [ "default": [
"󰁺", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󰁹"
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
] ]
}, },
"format-full": "Charged ", "format-full": "Charged ",

View File

@ -25,7 +25,6 @@ window#waybar {
color: #cdd6f4; color: #cdd6f4;
} }
#bluetooth,
#cpu, #cpu,
#battery, #battery,
#network, #network,