This commit is contained in:
2026-03-31 12:05:30 -07:00
parent f862ae8981
commit bc5ce70a7f
3 changed files with 61 additions and 29 deletions

View File

@@ -24,6 +24,7 @@
"custom/notification",
"custom/updates",
"custom/kernel",
"custom/codexbar",
// "disk#ssd",
// "temperature",
// "cpu",
@@ -32,7 +33,7 @@
"network",
"pulseaudio",
"clock",
"custom/weather"
"custom/meteobar",
],
"hyprland/workspaces": {
@@ -52,10 +53,10 @@
},
},
"bluetooth": {
"format-on": "bt ",
"format-off": "bt ({status}) ",
"format-connected": "{device_alias} ",
"format-connected-battery": "{device_alias} [{device_battery_percentage}%] ",
"format-on": "bt ",
"format-off": "bt ({status}) ",
"format-connected": "{device_alias} ",
"format-connected-battery": "{device_alias} [{device_battery_percentage}%] ",
"format-device-preference": ["ugreen_1", "ugreen_2"],
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
@@ -148,40 +149,39 @@
"interval": 60,
"interface-ethernet": "enp1s*",
"interface-wifi": "wlan0",
"format-ethernet": "eth 󰈀",
"format-ethernet": "eth ",
"format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} 󰈀",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
"tooltip-format-wifi": "{ifname}: {ipaddr}/{cidr} ",
"format-linked": "(No IP) 󰈀",
"format-linked": "(No IP) ",
"format-disconnected": "Disconnected ⚠",
"on-click": "$HOME/.config/rofi/scripts/rofi-wifi-menu.sh",
},
"custom/weather": {
"interval": 600,
"exec": "~/.config/waybar/scripts/wttr.sh Los_Angeles",
"custom/meteobar": {
"exec": "$HOME/.config/waybar/scripts/meteobar.sh",
"return-type": "json",
"format": "{}",
"interval": 900,
"tooltip": true,
},
"custom/kernel": {
"exec": "uname -r | sed -E 's/^([0-9]+\\.[0-9]+\\.[0-9]+)-.*-([a-zA-Z0-9]+)/\\1-\\2/'",
"format": "{} ",
"format": "{} ",
},
"pulseaudio": {
"scroll-step": 2,
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon}  {format_source}",
"format-bluetooth-muted": "󰝟 {icon}  {format_source}",
"format-muted": "󰝟 {format_source}",
"format-bluetooth-muted": "\uf6a9 {icon}  {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"ignored-sinks": ["Easy Effects Sink"],
"format-icons": {
"headphone": "",
"hands-free": "󰋎",
"headset": "󰋎",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"portable": "",
"car": "",
},
"on-click": "pavucontrol",
@@ -194,14 +194,14 @@
"scroll-step": 2,
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon}  {format_source}",
"format-bluetooth-muted": "󰝟 {icon}  {format_source}",
"format-muted": "󰝟 {format_source}",
"format-bluetooth-muted": "\uf6a9 {icon}  {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}% ",
"format-source-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "󰋎",
"headset": "󰋎",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
@@ -221,6 +221,7 @@
"8": "八",
"9": "九",
"10": "十",
"urgent": "",
// "11": "一",
// "12": "二",
// "13": "三",
@@ -250,8 +251,8 @@
"format": "{} {icon}",
"return-type": "json",
"format-icons": {
"has-updates": "",
"updated": "󰚰",
"has-updates": "",
"updated": "",
},
"exec-if": "which waybar-module-pacman-updates",
"exec": "waybar-module-pacman-updates --no-zero-output --tooltip-align-columns",
@@ -264,7 +265,7 @@
},
"custom/firefox-scroll": {
"exec": "$HOME/.config/waybar/scripts/scroll-firefox.sh",
"format": "<span color='#E66000'></span>{}",
"format": "<span font='Font Awesome 7 Brands' color='#E66000'>&#xf269;</span>{}",
"max-length": 35,
"on-click": "playerctl -p firefox play-pause",
"hide-empty-text": true,
@@ -303,7 +304,7 @@
},
"custom/mpv-scroll": {
"exec": "$HOME/.config/waybar/scripts/scroll-mpv.sh",
"format": "<span color='#450241'></span> {}",
"format": "<span font='Font Awesome 7 Free' color='#450241'>&#xf04b;</span> {}",
"max-length": 35,
"on-click": "playerctl -p mpv play-pause",
"hide-empty-text": true,
@@ -328,4 +329,13 @@
"on-click-right": "swaync-client -d -sw",
"escape": false,
},
"custom/codexbar": {
"exec": "codexbar --icon \"<span font='Font Awesome 7 Brands'>&#xe7cf;</span>\" | sed 's/ *|//g'",
"return-type": "json",
"interval": 300,
"signal": 12,
"tooltip": true,
"on-click": "python3 ~/.config/waybar/scripts/aibar-popup.py",
"on-click-right": "python3 ~/.config/waybar/scripts/aibar-popup.py --claude",
},
}