From 4b71908c30807c9d726e83378e04ccae28dff334 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Tue, 23 Feb 2021 13:36:27 +0100 Subject: waybar: update 2021-02-23T13:36:34Z+01:00 --- .config/waybar/config | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to '.config/waybar/config') diff --git a/.config/waybar/config b/.config/waybar/config index 557dafe..f8443b3 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -7,7 +7,7 @@ "modules-left": ["sway/mode", "sway/workspaces", "sway/window", "custom/mpris"], "modules-center": ["custom/weather", "clock#local", "clock#utc", "custom/toggl", "custom/todo"], - "modules-right": ["tray", "cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "custom/gammastep", "pulseaudio", "network#vpn", "network#tailscale", "network", "battery"], + "modules-right": ["tray", "custom/covid", "cpu", "memory", "disk#root", "disk#home", "temperature", "idle_inhibitor", "backlight", "custom/gammastep", "pulseaudio", "network#vpn", "network#tailscale", "network", "battery"], "sway/workspaces": { "disable-scroll": true, @@ -40,7 +40,8 @@ "clock#local": { "format": "{:%a %d %b %H:%M}", "tooltip-format": "TZ: {:%Z %z}\n\n{calendar}", - "locale": "ja_JP.utf-8" + // "locale": "ja_JP.utf-8" + "locale": "en_US.utf-8" }, "clock#utc": { "timezone": "UTC", @@ -148,14 +149,13 @@ "custom/toggl": { "format": "󰔟 {}", "exec": "$HOME/.config/waybar/modules/toggl.lua 2>/dev/null", - "interval": 30 + "interval": 60 }, "custom/todo": { "format": "{icon} {}", "format-icons": { - "off": "!󰒲", - "on": "!󰈻", - // "work": "󰪢" + "off": "󰒲", + "on": "󰈻" }, "exec": "$HOME/.config/waybar/modules/waybar-todo", "on-click": "pkill -x -USR1 waybar-todo", @@ -198,5 +198,21 @@ // "signal": 4, // "on-click-right": "pkill -SIGRTMIN+5 waybar", "on-click": "swx -t env REPORT=1 $HOME/.config/waybar/modules/weather.sh Berlin" + }, + "custom/covid": { + "format": "{icon} {}", + "format-icons": { + "gray": "󱅼", + "green": "󱎷", + "yellow": "󱎷", + "orange": "󱎷", + "red": "󱎷!", + "darkred": "󱎷!!", + "darkdarkred": "󰯆" + }, + "exec": "$HOME/.config/waybar/modules/covid.sh", + "interval": 86400, + "tooltip": true, + "return-type": "json" } } -- cgit 1.4.1