-
-
Save rosoau/5730c667354ff0204217f07dd080175b to your computer and use it in GitHub Desktop.
Displays a window to configure dunst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
zenity --window-icon=/usr/share/icons/gnome/24x24/status/dialog-warning.png --text-info --width=700 --height=700 --ok-label="Save Changes" --title="Configure Notifications" --filename=/home/user/.config/dunst/dunstrc --editable > /home/user/.config/dunst/dunstrc-new | |
if [ -s /home/user/.config/dunst/dunstrc-new ] | |
then | |
mv /home/user/.config/dunst/dunstrc-new /home/user/.config/dunst/dunstrc | |
fi | |
sleep 1 | |
killall /usr/local/bin/dunst | |
sleep 1 | |
/usr/local/bin/dunst |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment