dunst: Update dunstctl for comatibility with upstream script
This commit is contained in:
@@ -9,7 +9,7 @@ is_on() {
|
||||
|
||||
switch_on() {
|
||||
touch "${_status_file}"
|
||||
dunstctl disable &
|
||||
dunstctl set-paused true &
|
||||
systemctl --user --no-block stop redshift.service
|
||||
systemctl --user --no-block stop spotify.service
|
||||
~/.i3/scripts/bar-update "external_script presentation_mode"
|
||||
@@ -19,7 +19,7 @@ switch_on() {
|
||||
|
||||
switch_off() {
|
||||
rm -f "${_status_file}"
|
||||
dunstctl enable &
|
||||
dunstctl set-paused false &
|
||||
systemctl --user --no-block start redshift.service
|
||||
systemctl --user --no-block start spotify.service
|
||||
~/.i3/scripts/bar-update "external_script presentation_mode"
|
||||
|
||||
Reference in New Issue
Block a user