diff options
Diffstat (limited to '.config/waybar/config.jsonc')
| -rw-r--r-- | .config/waybar/config.jsonc | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 6c5b294..bd38898 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -2,7 +2,6 @@ "modules-left": ["sway/mode", "sway/workspaces", "custom/mpris"], "sway/workspaces": { - "disable-scroll": true, "format": "{icon}", "format-icons": { "m": "", @@ -13,14 +12,15 @@ }, "custom/mpris": { - "exec-on-event": false, "max-width": 60, - "escape": true, "on-click": "playerctl play-pause", "on-click-right": "playerctl next", // "exec": "env YAEGI_SYSCALL=1 YAEGI_UNRESTRICTED=1 ${HOME}/.config/waybar/modules/mpris.go", + // "interval": "once", + "retart-interval": 1, "exec": "${HOME}/.config/waybar/modules/mpris.sh", - "return-type": "json" + "return-type": "json", + "signal": 4, }, // ------------------------------------------------------------------------ // @@ -54,7 +54,7 @@ "format": "{:<i>%a</i> %d %b <b>%H:%M</b>}", "tooltip-format": "TZ: {:%Z %z}\n\n{calendar}", // "locale": "ja_JP.utf-8" - "locale": "en_US.utf-8" + // "locale": "en_US.utf-8" }, "clock#utc": { @@ -77,7 +77,7 @@ }, // ------------------------------------------------------------------------ // - "modules-right": ["tray", "custom/covid", "cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "custom/gamma", "pulseaudio", "network#tailscale", "network", "battery"], + "modules-right": ["tray", "cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "custom/gamma", "pulseaudio", "network#mullvad", "network#tailscale", "network", "battery"], "tray": { "spacing": 10 @@ -86,6 +86,7 @@ "custom/covid": { "format": "{icon} {}", "format-icons": { + "": "x", "gray": "", "green": "", "yellow": "", @@ -148,10 +149,10 @@ "custom/gamma": { "format": "{icon}", "format-icons": { + "dawn": "", "day": "", + "dusk": "", "night": "", - "dusk": "?", - "dawn": "?" }, "exec": "env GAMMA_COMMAND='wlsunset -l $HOME_LAT -L $HOME_LON -p' YAEGI_SYSCALL=1 YAEGI_UNRESTRICTED=1 ${HOME}/.config/waybar/modules/gamma.go", "return-type": "json" @@ -176,6 +177,12 @@ "on-click": "swx -t -F '0.4' pulsemixer" }, + "network#mullvad": { + "interface": "mlvd-*", + "format": "", + "tooltip-format": "{ifname}: {bandwidthUpBits} {bandwidthDownBits}", + "tooltip-format-disconnected": "disconnected", + }, "network#tailscale": { "interface": "tailscale0", "format": "", |