Update postswitch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user