Adding dtos color dmenu script and new alacritty.

This commit is contained in:
Derek Taylor
2021-12-07 15:58:01 -06:00
parent 3440f89019
commit e81ae71120
2 changed files with 26 additions and 21 deletions

View File

@@ -32,6 +32,11 @@ if [ "$choice" ]; then
sed -i "s/import Colors.*/import Colors.$choice/g" "$HOME"/.xmonad/README.org || echo "Cannot modify README.org"
sed -i "s/import Colors.*/import Colors.$choice/g" "$HOME"/.xmonad/xmonad.hs || echo "Cannot modify xmonad.hs"
xmonad --restart
sed -i "s/^colors: .*/colors: \*$choice/g" "$HOME"/.config/alacritty/alacritty.yml
# DOOM EMACS
# What to do if we just escape without choosing anything.
else
echo "Program terminated." && exit 0