diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-08 13:15:42 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-04-08 13:15:42 +0200 |
| commit | 72af419c43ec493d4cea7bb650897b358e5f3e4a (patch) | |
| tree | e33d8152cac444f096e2f9ad496a2a398c3293d3 /config/waybar/config.jsonc | |
| parent | b655f1dc31df1ee1c33495b3aa57e4ba4a77caa2 (diff) | |
Make bar glyphier
Diffstat (limited to 'config/waybar/config.jsonc')
| -rw-r--r-- | config/waybar/config.jsonc | 92 |
1 files changed, 60 insertions, 32 deletions
diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc index 3ff0099..cb1b8b9 100644 --- a/config/waybar/config.jsonc +++ b/config/waybar/config.jsonc @@ -9,9 +9,10 @@ ], "modules-right": [ "idle_inhibitor", + "custom/mullvad", "custom/tailscale", - "pulseaudio", "network", + "pulseaudio", "power-profiles-daemon", "battery", "clock", @@ -19,10 +20,10 @@ "custom/power" ], "idle_inhibitor": { - "format": "<span font-family='Font Awesome 6 Free'>{icon}</span>", + "format": "{icon}", "format-icons": { - "activated": "", - "deactivated": "" + "activated": "SLP", + "deactivated": "CAF" } }, "clock": { @@ -34,40 +35,41 @@ "warning": 30, "critical": 10 }, - "format": "{capacity}% <span font-family='Font Awesome 6 Free'>{icon}</span>", - "format-full": "{capacity}% <span font-family='Font Awesome 6 Free'>{icon}</span>", - "format-charging": "{capacity}% <span font-family='Font Awesome 6 Free'></span>", - "format-plugged": "{capacity}% <span font-family='Font Awesome 6 Free'></span>", + "format": "{capacity} {icon}", + "format-full": "{capacity} {icon}", + "format-charging": "{capacity} 🜹", + "format-plugged": "{capacity} 🜙", "format-alt": "{time} <span font-family='Font Awesome 6 Free'>{icon}</span>", - "format-icons": ["", "", "", "", ""] + "format-icons": ["🝙"] }, "network": { - "format-wifi": "{essid} ", + "format-wifi": "<span font-weight='900'>{icon}</span>", "format-ethernet": "{ipaddr}/{cidr} <span font-family='Font Awesome 6 Free'></span>", "tooltip-format": "{essid} ({signalStrength}%) \n{ifname} via {gwaddr} <span font-family='Font Awesome 6 Free'></span>\n{ipaddr}/{cidr}", "format-linked": "{ifname} (No IP) <span font-family='Font Awesome 6 Free'></span>", "format-disconnected": "Disconnected <span font-family='Font Awesome 6 Free'>⚠</span>", - "format-alt": "{ifname}: {ipaddr}/{cidr}" + "format-alt": "{ifname}: {ipaddr}/{cidr}", + "format-icons": ["․", ":", "⸪", "⁛"] }, "power-profiles-daemon": { - "format": "<span font-family='Font Awesome 6 Free'>{icon}</span>", + "format": "{icon}", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", "tooltip": true, "format-icons": { - "default": "", - "performance": "", - "balanced": "", - "power-saver": "" + "default": "⊠", + "performance": "⊠", + "balanced": "⊞", + "power-saver": "⊟" } }, "pulseaudio": { // "scroll-step": 1, // %, can be a float - "format": "{volume}% <span font-family='Font Awesome 6 Free'>{icon}</span> {format_source}", - "format-bluetooth": "{volume}% <span font-family='Font Awesome 6 Free'>{icon}</span> {format_source}", - "format-bluetooth-muted": "<span font-family='Font Awesome 6 Free'> {icon}</span> {format_source}", - "format-muted": "<span font-family='Font Awesome 6 Free'></span> {format_source}", - "format-source": "{volume}% <span font-family='Font Awesome 6 Free'></span>", - "format-source-muted": "<span font-family='Font Awesome 6 Free'></span>", + "format": "{volume} {icon} {format_source}", + "format-bluetooth": "{volume} {icon} {format_source}", + "format-bluetooth-muted": "×× {icon} {format_source}", + "format-muted": "×× ⌾ {format_source}", + "format-source": "{volume} ⌽", + "format-source-muted": "×× ⌽", "format-icons": { "headphone": "", "hands-free": "", @@ -75,12 +77,12 @@ "phone": "", "portable": "", "car": "", - "default": ["", "", ""] + "default": ["⌾"] }, "on-click": "pavucontrol" }, "custom/power": { - "format" : "<span font-family='Font Awesome 6 Free'> ⏻ </span>", + "format" : " ⍜ ", "tooltip": false, "menu": "on-click", "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder @@ -92,9 +94,9 @@ } }, "mpd": { - "format": " {stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title}", - "format-disconnected": "⨯", - "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", + "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {title}", + "format-disconnected": "DSC", + "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}STP", "unknown-tag": "N/A", "interval": 5, "consume-icons": { @@ -102,19 +104,45 @@ }, "random-icons": { "off": "", - "on": " " + "on": "⯴" }, "repeat-icons": { - "on": " " + "on": "🜄" }, "single-icons": { - "on": "1 " + "on": "🜃" }, "state-icons": { - "paused": "", - "playing": "" + "paused": "<span font-weight='600'>PAUSE</span>", + "playing": "" }, "tooltip-format": "{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}%", "tooltip-format-disconnected": "MPD (disconnected)" }, + "custom/tailscale" : { + "exec": "~/.config/waybar/scripts/tailscale.sh --status", + "on-click": "exec ~/.config/waybar/scripts/tailscale.sh --toggle", + "exec-on-event": true, + "format": " {icon} ", + "format-icons": { + "connected": "Τ", + "stopped": " 𝈜 " + }, + "tooltip": true, + "return-type": "json", + "interval": 3, + }, + "custom/mullvad" : { + "exec": "~/.config/waybar/scripts/mullvad.sh --status", + "on-click": "exec ~/.config/waybar/scripts/mullvad.sh --toggle", + "exec-on-event": true, + "format": "<span font-weight='900'> {icon} </span>", + "format-icons": { + "connected": "⛧", + "disconnected": "⛤" + }, + "tooltip": true, + "return-type": "json", + "interval": 3, + } } |