Added dark/light mode switchers

This commit is contained in:
Michael Mandl 2020-08-02 13:34:02 +02:00
parent 700cc5c938
commit 7c51568d3f
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
3 changed files with 17 additions and 0 deletions

5
bin/dark Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
sed --in-place --follow-symlinks --expression "s/^colors: \*light/colors: *dark/" ~/.config/alacritty/alacritty.yml
sed --in-place --follow-symlinks --expression "s/^set background=light/set background=dark/" ~/.config/nvim/init.vim
sed --in-place --follow-symlinks --expression "s/light/dark/" ~/.tmux.conf && tmux source-file ~/.tmux.conf