refactor: new system basics
This commit is contained in:
11
polybar/scripts/alternaNotificaciones.sh
Executable file
11
polybar/scripts/alternaNotificaciones.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
pausa=$(dunstctl is-paused)
|
||||
if [ $pausa == 'false' ]
|
||||
then
|
||||
dunstctl close-all
|
||||
dunstctl set-paused true
|
||||
else
|
||||
dunstctl close-all
|
||||
dunstctl set-paused false
|
||||
notify-send "Notificaciones activadas"
|
||||
fi
|
||||
Reference in New Issue
Block a user