diff options
Diffstat (limited to 'dotfiles/.local')
-rwxr-xr-x | dotfiles/.local/bin/chcolors | 20 | ||||
-rw-r--r-- | dotfiles/.local/share/soundalerts/ding.ogg | bin | 0 -> 6932 bytes |
2 files changed, 20 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/chcolors b/dotfiles/.local/bin/chcolors new file mode 100755 index 0000000..7732267 --- /dev/null +++ b/dotfiles/.local/bin/chcolors @@ -0,0 +1,20 @@ +#!/bin/sh + +COLORSCHEME="dark" + +if [ -f $HOME/.cache/colorscheme ]; then + source $HOME/.cache/colorscheme +fi + +case $COLORSCHEME in + dark) + COLORSCHEME="light" ;; + *) + COLORSCHEME="dark" ;; +esac + +sed -i --follow-symlinks \ + "s/^colors:.*/colors: \*$COLORSCHEME/g" \ + $HOME/.config/alacritty/alacritty.yml + +echo "export COLORSCHEME=$COLORSCHEME" > $HOME/.cache/colorscheme diff --git a/dotfiles/.local/share/soundalerts/ding.ogg b/dotfiles/.local/share/soundalerts/ding.ogg Binary files differnew file mode 100644 index 0000000..ca3bd93 --- /dev/null +++ b/dotfiles/.local/share/soundalerts/ding.ogg |