From 1d12b9990757a920e36e8e66ac96106ac5b2ebac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 20 Dec 2020 22:02:40 +0100 Subject: [PATCH] py3status: Update bar on presentation mode toggle --- i3/scripts/presentation-mode | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/i3/scripts/presentation-mode b/i3/scripts/presentation-mode index e589b07..f3cfdfe 100755 --- a/i3/scripts/presentation-mode +++ b/i3/scripts/presentation-mode @@ -12,6 +12,9 @@ switch_on() { dunstctl disable & systemctl --user --no-block stop redshift.service systemctl --user --no-block stop spotify.service + ~/.i3/scripts/bar-update "external_script presentation_mode" + ~/.i3/scripts/bar-update "systemd redshift" + ~/.i3/scripts/bar-update "systemd spotify" } switch_off() { @@ -19,6 +22,9 @@ switch_off() { dunstctl enable & systemctl --user --no-block start redshift.service systemctl --user --no-block start spotify.service + ~/.i3/scripts/bar-update "external_script presentation_mode" + ~/.i3/scripts/bar-update "systemd redshift" + ~/.i3/scripts/bar-update "systemd spotify" }