diff --git a/.config/autorandr/postswitch b/.config/autorandr/postswitch index 18f8439..648b721 100755 --- a/.config/autorandr/postswitch +++ b/.config/autorandr/postswitch @@ -5,7 +5,7 @@ polybar_auto_hide_timer_name=polybar_auto_hide.timer function auto_hide_polybar() { if [[ $1 == "true" ]]; then - systemd-run --user --on-calendar="*:0/1" --unit=$polybar_auto_hide_timer_name /usr/bin/polybar-msg cmd show || true + systemd-run --user --on-calendar="*:0/1" --unit=$polybar_auto_hide_timer_name /usr/bin/polybar-msg cmd hide || true else systemctl --user stop $polybar_auto_hide_timer_name || true fi