waybar: update config_annoyance

This commit is contained in:
Konstantin Koslowski 2021-05-13 19:22:54 +02:00
parent e4623831ab
commit 01ffca2ffc

View file

@ -25,151 +25,154 @@
"cpu", "cpu",
"memory", "memory",
"custom/separator#right", "custom/separator#right",
"backlight",
"custom/separator#right",
"custom/calendar", "custom/calendar",
"clock", "clock",
"tray" "tray"
], ],
"custom/separator#left": { "custom/separator#left": {
"format": " <span foreground='#268bd2'></span> " "format": " <span foreground='#268bd2'></span> "
},
"custom/separator#right": {
"format": " <span foreground='#268bd2'></span> "
},
"custom/calendar": {
"format": "{icon} {}",
"tooltip-format": "{}",
"tooltip": true,
"return-type": "json",
"interval": 300,
"format-icons": {
"now": "<span foreground='#fb4934'></span> ",
"today": "<span foreground='#b8bb26'></span> ",
"idle": " "
}, },
"custom/separator#right": { "escape": false,
"format": " <span foreground='#268bd2'></span> " "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": { "escape": true,
"format": "{}", "exec": "$HOME/.config/sway/bin/waybar_mail 2> /dev/null"
"tooltip-format": "{}", },
"tooltip": true, "custom/media": {
"return-type": "json", "format": "{icon} {}",
"interval": 300, "return-type": "json",
"escape": false, "min-length": 30,
"exec": "$HOME/.config/sway/bin/waybar_khal.py 2> /dev/null", "max-length": 40,
"on-click": "foot -T float khal interactive" "format-icons": {
"chromium": " ",
"firefox": " ",
"Plexamp": " ",
"default": "♫ "
}, },
"custom/mail": { "escape": true,
"format": "{icon} {}", "exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null",
"return-type": "json", "exec-if": "pgrep plexamp"
"min-length": 15, },
"max-length": 15, "clock": {
"interval": 30, "format": "<span foreground='#ebdbb2'> </span>{: %a, %b %d, %H:%M}",
"format-icons": { "on-click": "foot -T float khal interactive"
"unread": " ", },
"read": " " "cpu": {
}, "format": "<span foreground='#ebdbb2'></span> {usage:3}%",
"escape": true, "states": {
"exec": "$HOME/.config/sway/bin/waybar_mail 2> /dev/null" "warning": 70,
"critical": 90
}, },
"custom/media": { "on-click": "foot -T float bashtop"
"format": "{icon} {}", },
"return-type": "json", "memory": {
"min-length": 30, "format": "<span foreground='#ebdbb2'></span> {}%",
"max-length": 40, "states": {
"format-icons": { "warning": 70,
"chromium": " ", "critical": 90
"firefox": " ",
"Plexamp": " ",
"default": "♫ "
},
"escape": true,
"exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null",
"exec-if": "pgrep plexamp"
}, },
"clock": { "on-click": "foot -T float bashtop"
"format": "<span foreground='#ebdbb2'> </span>{:%H:%M}", },
"on-click": "foot -T float khal interactive" "backlight": {
"format": "<span foreground='#ebdbb2'>{icon}</span> {percent:3}%",
"format-icons": [""]
},
"battery": {
"bat": "BAT0",
"design-capacity": false,
"states": {
"warning": 30,
"critical": 15
}, },
"cpu": { "format": "<span foreground='#ebdbb2'>{icon}</span> {capacity:3}%",
"format": "<span foreground='#ebdbb2'></span> {usage:3}%", "format-charging": "<span foreground='#268bd2'></span> {capacity:3}%",
"states": { "format-icons": ["", "", "", "", ""]
"warning": 70, },
"critical": 90 "network#wl0": {
}, "interval": 2,
"on-click": "foot -T float bashtop" "interface": "wl0",
"format": "{ifname}",
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname} {essid} ({signalStrength:3}%)",
"format-ethernet": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'></span>{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": "<span foreground='#ebdbb2'> </span> {essid} ({signalStrength:3}%)",
"format-ethernet": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'></span>{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": "<span foreground='#ebdbb2'> </span> {essid} ({signalStrength:3}%)",
"format-ethernet": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'></span>{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": "<span foreground='#ebdbb2'>{icon} </span>{volume}% {format_source}",
"format-bluetooth": "<span foreground='#ebdbb2'>{icon} </span>{volume}% {format_source}",
"format-bluetooth-muted": "<span foreground='#fb4934'> {icon} </span>{format_source}",
"format-muted": "<span foreground='#fb4934'> </span>{format_source}",
"format-source": "<span foreground='#b8bb26'> </span>{volume}%",
"format-source-muted": "<span foreground='#fb4934'> </span>",
"format-icons": {
"headphone": "🎧",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
}, },
"memory": { "on-click": "pkill -x pavucontrol || pavucontrol"
"format": "<span foreground='#ebdbb2'></span> {}%", },
"states": { "tray": {
"warning": 70, "padding": 10,
"critical": 90 "spacing": 10
}, }
"on-click": "foot -T float bashtop"
},
"backlight": {
"format": "<span foreground='#ebdbb2'>{icon}</span> {percent:3}%",
"format-icons": [""]
},
"battery": {
"bat": "BAT0",
"design-capacity": false,
"states": {
"warning": 30,
"critical": 15
},
"format": "<span foreground='#ebdbb2'>{icon}</span> {capacity:3}%",
"format-charging": "<span foreground='#268bd2'></span> {capacity:3}%",
"format-icons": ["", "", "", "", ""]
},
"network#wl0": {
"interval": 2,
"interface": "wl0",
"format": "{ifname}",
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname} {essid} ({signalStrength:3}%)",
"format-ethernet": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'></span>{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": "<span foreground='#ebdbb2'> </span> {essid} ({signalStrength:3}%)",
"format-ethernet": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'></span>{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": "<span foreground='#ebdbb2'> </span> {essid} ({signalStrength:3}%)",
"format-ethernet": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'></span>{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": "<span foreground='#ebdbb2'>{icon} </span>{volume}% {format_source}",
"format-bluetooth": "<span foreground='#ebdbb2'>{icon} </span>{volume}% {format_source}",
"format-bluetooth-muted": "<span foreground='#fb4934'> {icon} </span>{format_source}",
"format-muted": "<span foreground='#fb4934'> </span>{format_source}",
"format-source": "<span foreground='#b8bb26'> </span>{volume}%",
"format-source-muted": "<span foreground='#fb4934'> </span>",
"format-icons": {
"headphone": "🎧",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "pkill -x pavucontrol || pavucontrol"
},
"tray": {
"padding": 10,
"spacing": 10
}
} }