aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-01-29 14:11:09 +0800
committerGuangxiong Lin <[email protected]>2023-01-29 14:11:09 +0800
commitce6a9829d9b79fe584c8c391dd550e6637a3bfc6 (patch)
tree017b7ed4583d9ffd61e75b98a19b579dff70c4f6 /scripts
parente206b98b90641bda6e14bbed087af1a58c2dc925 (diff)
downloaddotfiles-ce6a9829d9b79fe584c8c391dd550e6637a3bfc6.tar.gz
dotfiles-ce6a9829d9b79fe584c8c391dd550e6637a3bfc6.tar.bz2
dotfiles-ce6a9829d9b79fe584c8c391dd550e6637a3bfc6.zip
Add dark mode switch
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 162c854..89d267e 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -2,7 +2,7 @@
dotfiles_dir=$(cd -- "$(dirname ${BASH_SOURCE})/.." > /dev/null 2>&1; pwd -P)
-mkdir -p "$HOME/.config"
+mkdir -p "$HOME/.config" "$HOME/.local/share"
remove_and_link () {
for var in $@
@@ -23,7 +23,8 @@ link_all () {
.vimrc .vim .path .functions .emacs.d .gitconfig \
.config/i3 .config/polybar .xinitrc .pam_environment \
.zprofile .newsboat .ledgerrc .nnnrc .alacritty.yml .fzfrc .zplugrc \
- .env .zrc .config/kitty .wezterm.lua .config/mpv
+ .env .zrc .config/kitty .wezterm.lua .config/mpv \
+ .local/share/light-mode.d .local/share/dark-mode.d
}
main () {