diff --git a/dotfiles/waybar/config b/dotfiles/waybar/config index d4e0c88..bbe113c 100644 --- a/dotfiles/waybar/config +++ b/dotfiles/waybar/config @@ -9,6 +9,7 @@ ], "modules-center": [ "clock", + "custom/sleep", "custom/weather", ], "modules-right": [ @@ -176,6 +177,11 @@ "exec":"_get-sway-layout", "interval": 1, "tooltip":false + }, + "custom/sleep":{ + "exec":"test $(date +%H) -lt 5 && echo 'GO TO SLEEP' | trans -b", + "interval": 60, + "tooltip":false } } diff --git a/dotfiles/waybar/style.css b/dotfiles/waybar/style.css index 41cf06a..9a39368 100644 --- a/dotfiles/waybar/style.css +++ b/dotfiles/waybar/style.css @@ -44,12 +44,12 @@ window#waybar.solo { } /*Window Title*/ -#window{ +#window { color: {{@@ color.txt @@}}; margin:0 4px; } -#mode{ +#mode { color: {{@@ accent_color @@}}; } @@ -119,3 +119,9 @@ window#waybar.solo { font-size: {{@@ font.size.medium @@}}px; color: {{@@ color.bg_light @@}}; } + +#custom-sleep { + color: {{@@ accent_color @@}}; + font-size: {{@@ font.size.big @@}}px; + font-weight: bold; +}