From 01ffca2ffc7a619142081133834e88826adfec60 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Thu, 13 May 2021 19:22:54 +0200 Subject: [PATCH] waybar: update config_annoyance --- waybar.d/config_annoyance | 275 +++++++++++++++++++------------------- 1 file changed, 139 insertions(+), 136 deletions(-) diff --git a/waybar.d/config_annoyance b/waybar.d/config_annoyance index 973c2c5..4c8ea4e 100644 --- a/waybar.d/config_annoyance +++ b/waybar.d/config_annoyance @@ -25,151 +25,154 @@ "cpu", "memory", "custom/separator#right", - "backlight", - "custom/separator#right", "custom/calendar", "clock", "tray" - ], - "custom/separator#left": { - "format": " " + ], + "custom/separator#left": { + "format": " " + }, + "custom/separator#right": { + "format": " " + }, + "custom/calendar": { + "format": "{icon} {}", + "tooltip-format": "{}", + "tooltip": true, + "return-type": "json", + "interval": 300, + "format-icons": { + "now": " ", + "today": " ", + "idle": " " }, - "custom/separator#right": { - "format": " " + "escape": false, + "exec": "$HOME/.config/sway/bin/waybar_khal.py 2> /dev/null", + "on-click": "foot -T float khal interactive" + }, + "custom/mail": { + "format": "{icon} {}", + "return-type": "json", + "min-length": 15, + "max-length": 15, + "interval": 30, + "format-icons": { + "unread": " ", + "read": " " }, - "custom/calendar": { - "format": "{}", - "tooltip-format": "{}", - "tooltip": true, - "return-type": "json", - "interval": 300, - "escape": false, - "exec": "$HOME/.config/sway/bin/waybar_khal.py 2> /dev/null", - "on-click": "foot -T float khal interactive" + "escape": true, + "exec": "$HOME/.config/sway/bin/waybar_mail 2> /dev/null" + }, + "custom/media": { + "format": "{icon} {}", + "return-type": "json", + "min-length": 30, + "max-length": 40, + "format-icons": { + "chromium": " ", + "firefox": " ", + "Plexamp": " ", + "default": "♫ " }, - "custom/mail": { - "format": "{icon} {}", - "return-type": "json", - "min-length": 15, - "max-length": 15, - "interval": 30, - "format-icons": { - "unread": " ", - "read": " " - }, - "escape": true, - "exec": "$HOME/.config/sway/bin/waybar_mail 2> /dev/null" + "escape": true, + "exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null", + "exec-if": "pgrep plexamp" + }, + "clock": { + "format": "{: %a, %b %d, %H:%M}", + "on-click": "foot -T float khal interactive" + }, + "cpu": { + "format": " {usage:3}%", + "states": { + "warning": 70, + "critical": 90 }, - "custom/media": { - "format": "{icon} {}", - "return-type": "json", - "min-length": 30, - "max-length": 40, - "format-icons": { - "chromium": " ", - "firefox": " ", - "Plexamp": " ", - "default": "♫ " - }, - "escape": true, - "exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null", - "exec-if": "pgrep plexamp" + "on-click": "foot -T float bashtop" + }, + "memory": { + "format": " {}%", + "states": { + "warning": 70, + "critical": 90 }, - "clock": { - "format": "{:%H:%M}", - "on-click": "foot -T float khal interactive" + "on-click": "foot -T float bashtop" + }, + "backlight": { + "format": "{icon} {percent:3}%", + "format-icons": [""] + }, + "battery": { + "bat": "BAT0", + "design-capacity": false, + "states": { + "warning": 30, + "critical": 15 }, - "cpu": { - "format": " {usage:3}%", - "states": { - "warning": 70, - "critical": 90 - }, - "on-click": "foot -T float bashtop" + "format": "{icon} {capacity:3}%", + "format-charging": " {capacity:3}%", + "format-icons": ["", "", "", "", ""] + }, + "network#wl0": { + "interval": 2, + "interface": "wl0", + "format": "{ifname}", + "format-wifi": "{ifname} {essid} ({signalStrength:3}%)", + "format-ethernet": "{ifname}", + "format-linked": "{ifname}", + "format-disconnected": "{ifname}", + "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", + "tooltip-format-linked": "{ifname} linked", + "tooltip-format-disconnected": "{ifname} disconnected", + "on-click": "foot -T float nmtui" + }, + "network#en0": { + "interval": 2, + "interface": "en0", + "format": "{ifname}", + "format-wifi": " {essid} ({signalStrength:3}%)", + "format-ethernet": "{ifname}", + "format-linked": "{ifname}", + "format-disconnected": "{ifname}", + "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", + "tooltip-format-linked": "{ifname} linked", + "tooltip-format-disconnected": "{ifname} disconnected", + "on-click": "foot -T float nmtui" + }, + "network#vpn0": { + "interval": 2, + "interface": "vpn0", + "format": "{ifname}", + "format-wifi": " {essid} ({signalStrength:3}%)", + "format-ethernet": "{ifname}", + "format-linked": "{ifname}", + "format-disconnected": "{ifname}", + "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", + "tooltip-format-linked": "{ifname} linked", + "tooltip-format-disconnected": "{ifname} disconnected", + "on-click": "foot -T float nmtui" + }, + "pulseaudio": { + "format": "{icon} {volume}% {format_source}", + "format-bluetooth": "{icon} {volume}% {format_source}", + "format-bluetooth-muted": " {icon} {format_source}", + "format-muted": "{format_source}", + "format-source": "{volume}%", + "format-source-muted": "", + "format-icons": { + "headphone": "🎧", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] }, - "memory": { - "format": " {}%", - "states": { - "warning": 70, - "critical": 90 - }, - "on-click": "foot -T float bashtop" - }, - "backlight": { - "format": "{icon} {percent:3}%", - "format-icons": [""] - }, - "battery": { - "bat": "BAT0", - "design-capacity": false, - "states": { - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity:3}%", - "format-charging": " {capacity:3}%", - "format-icons": ["", "", "", "", ""] - }, - "network#wl0": { - "interval": 2, - "interface": "wl0", - "format": "{ifname}", - "format-wifi": "{ifname} {essid} ({signalStrength:3}%)", - "format-ethernet": "{ifname}", - "format-linked": "{ifname}", - "format-disconnected": "{ifname}", - "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-linked": "{ifname} linked", - "tooltip-format-disconnected": "{ifname} disconnected", - "on-click": "foot -T float nmtui" - }, - "network#en0": { - "interval": 2, - "interface": "en0", - "format": "{ifname}", - "format-wifi": " {essid} ({signalStrength:3}%)", - "format-ethernet": "{ifname}", - "format-linked": "{ifname}", - "format-disconnected": "{ifname}", - "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-linked": "{ifname} linked", - "tooltip-format-disconnected": "{ifname} disconnected", - "on-click": "foot -T float nmtui" - }, - "network#vpn0": { - "interval": 2, - "interface": "vpn0", - "format": "{ifname}", - "format-wifi": " {essid} ({signalStrength:3}%)", - "format-ethernet": "{ifname}", - "format-linked": "{ifname}", - "format-disconnected": "{ifname}", - "tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}", - "tooltip-format-linked": "{ifname} linked", - "tooltip-format-disconnected": "{ifname} disconnected", - "on-click": "foot -T float nmtui" - }, - "pulseaudio": { - "format": "{icon} {volume}% {format_source}", - "format-bluetooth": "{icon} {volume}% {format_source}", - "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": "{format_source}", - "format-source": "{volume}%", - "format-source-muted": "", - "format-icons": { - "headphone": "🎧", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pkill -x pavucontrol || pavucontrol" - }, - "tray": { - "padding": 10, - "spacing": 10 - } + "on-click": "pkill -x pavucontrol || pavucontrol" + }, + "tray": { + "padding": 10, + "spacing": 10 + } }