1
0

feat: Add mako

chore: Add spacing to vpn waybar
This commit is contained in:
2024-12-07 19:15:13 +00:00
parent feb4dd3cb9
commit 9ed93191d7
3 changed files with 31 additions and 3 deletions

27
mako/.config/mako/config Normal file
View File

@@ -0,0 +1,27 @@
sort=-time
layer=overlay
background-color=#2e3440
width=300
height=110
border-size=2
border-color=#88c0d0
border-radius=15
icons=0
max-icon-size=64
default-timeout=5000
ignore-timeout=1
font=monospace 14
[urgency=low]
border-color=#cccccc
[urgency=normal]
border-color=#d08770
[urgency=high]
border-color=#bf616a
default-timeout=0
[category=mpd]
default-timeout=2000
group-by=category

View File

@@ -13,6 +13,7 @@ default_border none
gaps inner 10 gaps inner 10
exec_always kanshi exec_always kanshi
exec mako --config ~/.config/mako/config
input * xkb_layout "gb" input * xkb_layout "gb"

View File

@@ -27,11 +27,11 @@ case "$1" in
;; ;;
*) *)
if [ "$(connection_status)" = "1" ]; then if [ "$(connection_status)" = "1" ]; then
echo "VPN: On" echo " VPN: On "
elif [ "$(connection_status)" = "3" ]; then elif [ "$(connection_status)" = "3" ]; then
echo "Config not found!" echo " Config not found! "
else else
echo "VPN: Off" echo " VPN: Off "
fi fi
;; ;;
esac esac