From 4685f37a7e015801e15a0a3b0c05c6d2311c5acd Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sat, 10 May 2025 10:32:18 -0500 Subject: [PATCH] Minor edits --- .local/bin/dtos-colorscheme | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.local/bin/dtos-colorscheme b/.local/bin/dtos-colorscheme index 7207468..7b78c68 100755 --- a/.local/bin/dtos-colorscheme +++ b/.local/bin/dtos-colorscheme @@ -51,6 +51,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-one t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-one t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'dracula') @@ -71,6 +75,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-dracula t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-dracula t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'gruvbox-dark') @@ -91,6 +99,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-gruvbox t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-gruvbox t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'monokai-pro') @@ -111,6 +123,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-monokai-pro t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-monokai-pro t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'nord') @@ -131,6 +147,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-nord t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-nord t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'oceanic-next') @@ -151,6 +171,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-oceanic-next t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-oceanic-next t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'palenight') @@ -171,6 +195,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-palenight t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-palenight t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'solarized-dark') @@ -191,6 +219,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-solarized-dark t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-solarized-dark t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'solarized-light') @@ -211,6 +243,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-solarized-light t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-solarized-light t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'tomorrow-night') @@ -231,6 +267,10 @@ main() { sed -i "s/load-theme '.*/load-theme 'doom-tomorrow-night t)/g" "$HOME"/.config/emacs/config.org || echo "Cannot find config.org." emacsclient -e "(load-theme 'doom-tomorrow-night t)" || echo "Emacsclient not running." + ## DUNST ## + killall dunst + dunst -conf "$HOME"/.config/dunst/"$choice" + ;; 'Quit this program') echo "Program terminated." && exit 0