summary refs log tree commit diff
path: root/.config/waybar/config
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2020-07-21 14:47:55 +0200
committerRobert Günzler <r@gnzler.io>2020-07-21 14:47:55 +0200
commita2598ee49f9b88cba137a356dc3cb0520828b4a0 (patch)
tree85afbdc9d5ad62241836a778f7e956c5ea776852 /.config/waybar/config
parente7cfd58af25de9fe7e2a991baf57dfad4d1a0c10 (diff)
waybar: parse weather codes in the script
Diffstat (limited to '.config/waybar/config')
-rw-r--r--.config/waybar/config60
1 files changed, 12 insertions, 48 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 0edd528..27d90a6 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -152,54 +152,18 @@
     "custom/weather": {
 	"format": "{icon} {percentage}℃",
 	"format-icons": {
-            "113": "󰖙", // "Sunny",
-            "116": "󰖕", // "PartlyCloudy",
-            "119": "󰖐", // "Cloudy",
-            "122": "󰼯", // "VeryCloudy",
-            "143": "󰖑", // "Fog",
-            "176": "󰖗", // "LightShowers",
-            "179": "󰖒", // "LightSleetShowers",
-            "182": "󰖒", // "LightSleet",
-            "185": "󰖒", // "LightSleet",
-            "200": "󰖓", // "ThunderyShowers",
-            "227": "󰖘", // "LightSnow",
-            "230": "󰼶", // "HeavySnow",
-            "248": "󰖑", // "Fog",
-            "260": "󰖑", // "Fog",
-            "263": "󰖗", // "LightShowers",
-            "266": "󰖗", // "LightRain",
-            "281": "󰖒", // "LightSleet",
-            "284": "󰖒", // "LightSleet",
-            "293": "󰖗", // "LightRain",
-            "296": "󰖗", // "LightRain",
-            "299": "󰖖", // "HeavyShowers",
-            "302": "󰖖", // "HeavyRain",
-            "305": "󰖖", // "HeavyShowers",
-            "308": "󰖖", // "HeavyRain",
-            "311": "󰖒", // "LightSleet",
-            "314": "󰖒", // "LightSleet",
-            "317": "󰖒", // "LightSleet",
-            "320": "󰖘", // "LightSnow",
-            "323": "󰙿", // "LightSnowShowers",
-            "326": "󰙿", // "LightSnowShowers",
-            "329": "󰼶", // "HeavySnow",
-            "332": "󰼶", // "HeavySnow",
-            "335": "󰼶", //"HeavySnowShowers",
-            "338": "󰼶", //"HeavySnow",
-            "350": "󰖒", // "LightSleet",
-            "353": "󰖗", // "LightShowers",
-            "356": "󰖖", // "HeavyShowers",
-            "359": "󰖖", // "HeavyRain",
-            "362": "󰖒", // "LightSleetShowers",
-            "365": "󰖒", // "LightSleetShowers",
-            "368": "󰙿", // "LightSnowShowers",
-            "371": "󰼶", // "HeavySnowShowers",
-            "374": "󰖒", // "LightSleetShowers",
-            "377": "󰖒", // "LightSleet",
-            "386": "󰖓", // "ThunderyShowers",
-            "389": "󰖓", // "ThunderyHeavyRain",
-            "392": "󰖓", // "ThunderySnowShowers",
-            "395": "󰼶", // "HeavySnowShowers",
+            "sunny": "󰖙",
+            "partlycloudy": "󰖕",
+            "cloudy": "󰖐",
+            "verycloudy": "󰼯",
+            "fog": "󰖑",
+            "lightrain": "󰖗",
+            "heavyrain": "󰖖",
+            "hail": "󰖒",
+            "thunder": "󰖓",
+            "lightsnow": "󰖘",
+            "heavysnow": "󰼶",
+            "snowrain": "󰙿",
         },
 	"exec": "$HOME/.config/waybar/modules/weather.sh Berlin",
 	"interval": 600,