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

@ -1,44 +1,43 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"spacing": 0, "spacing": 0,
"height": 20, "height": 26,
"modules-left": [ "modules-left": [
"hyprland/workspaces" "hyprland/workspaces"
], ],
"modules-center": [ "modules-center": [
"clock" "clock"
], ],
"modules-right": [ "modules-right": [
"bluetooth", "network",
"network", "cpu",
"cpu", "battery"
"battery",
], ],
"hyprland/workspaces": { "hyprland/workspaces": {
"on-click": "activate", "on-click": "activate",
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"default": "", "default": "",
"1": "1", "1": "1",
"2": "2", "2": "2",
"3": "3", "3": "3",
"4": "4", "4": "4",
"5": "5", "5": "5",
"6": "6", "6": "6",
"7": "7", "7": "7",
"8": "8", "8": "8",
"9": "9", "9": "9",
"active": "󱓻", "active": "󱓻",
"urgent": "󱓻" "urgent": "󱓻"
}, },
"persistent_workspaces": { "persistent_workspaces": {
"1": [], "1": [],
"2": [], "2": [],
"3": [], "3": [],
"4": [], "4": [],
"5": [] "5": []
} }
}, },
"bluetooth": { "bluetooth": {
"format": " ", "format": " ",
@ -51,64 +50,48 @@
"on-click": "blueberry" "on-click": "blueberry"
}, },
"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" : "󱛇",
"format-disconnected" : "󰖪", "format-disconnected" : "󰖪",
"tooltip-format-wifi": "{icon} {essid}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}", "tooltip-format-wifi": "{icon} {essid}\n⇣{bandwidthDownBytes} ⇡{bandwidthUpBytes}",
"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": {
"format": "{capacity}% {icon}", "interval": 5,
"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 ",
"interval": 5, "interval": 5,
"states": { "states": {
"warning": 20, "warning": 20,
"critical": 10 "critical": 10
}, },
"tooltip": false "tooltip": false
} }
} }

View File

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