summary refs log tree commit diff
path: root/.config/waybar/config
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-02-23 13:36:27 +0100
committerRobert Günzler <r@gnzler.io>2021-04-26 02:09:45 +0200
commit4b71908c30807c9d726e83378e04ccae28dff334 (patch)
treeab3c37125a69803ffdaba7cdcac9014c437f3215 /.config/waybar/config
parent6cb604cdeb78b151d7e179d4f34f00101c912282 (diff)
waybar: update 2021-02-23T13:36:34Z+01:00
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config28
1 files changed, 22 insertions, 6 deletions
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": "{:<i>%a</i> %d %b <b>%H:%M</b>}",
         "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"
     }
 }