~alexdavid/dotfiles

ref: c5e9ec6280e803790d319ac219e2252492f1033e dotfiles/bin/toggle-colors -rwxr-xr-x 320 bytes
c5e9ec62 — Alex David Update nvim colorscheme 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash

set -e

if [ -f ~/.config/isdark ]; then
  rm ~/.config/isdark
  cp ~/.config/alacritty/light.yml  ~/.config/alacritty/alacritty.yml
else
  touch ~/.config/isdark
  cp ~/.config/alacritty/dark.yml  ~/.config/alacritty/alacritty.yml
fi

~/.config/sway/set-wallpaper &
killall -s SIGUSR1 nvim || true