1#!/usr/bin/env bash
2
3sed -i 's/dark/light/g' ~/.config/chezmoi/chezmoi.toml
4chezmoi apply
5xfconf-query -c xsettings -p /Net/ThemeName -s "Everforest-Light-Soft"
6xfconf-query -c xsettings -p /Net/IconThemeName -s "Everforest-Light"
7gsettings set org.gnome.desktop.interface gtk-theme "Everforest-Light-Soft"
8gsettings set org.gnome.desktop.interface icon-theme "Everforest-Light"
9gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
10xrdb -load ~/.Xresources
11"$XDG_CONFIG_HOME/emacs/bin/doom" sync
12
13pkill dunst
14pkill emacs
15if [[ -n $WAYLAND_DISPLAY ]]; then
16 pkill waybar
17 hyprctl dispatch exec -- waybar
18 hyprctl dispatch exec -- dunst
19 hyprctl dispatch exec -- emacs --daemon
20else
21 pkill polybar
22 i3-msg exec "polybar top"
23 i3-msg exec "polybar bottom"
24 i3-msg exec "dunst"
25 i3-msg exec "emacs --daemon"
26fi
27
28unlink ~/.wallpaper.png
29ln -s ~/Pictures/walls/everforest-soft-light.png ~/.wallpaper.png
30feh --bg-scale ~/.wallpaper.png
31notify-send "Theme switch complete"