update config file

This commit is contained in:
lostecho
2023-07-12 15:41:39 +08:00
parent 4cbe664a8d
commit ec395e9a08
27 changed files with 715 additions and 453 deletions

View File

@@ -14,19 +14,27 @@ ln -sf ~/.config/waybar/style/style$SWITCHTO.css ~/.config/waybar/style.css
#set the wofi theme
ln -sf ~/.config/wofi/style/style$SWITCHTO.css ~/.config/wofi/style.css
#set the xfce theme
xfconf-query -c xsettings -p /Net/ThemeName -s "Adwaita$SWITCHTO"
xfconf-query -c xsettings -p /Net/IconThemeName -s "Adwaita$SWITCHTO"
#set the GTK theme
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita$SWITCHTO"
gsettings set org.gnome.desktop.interface icon-theme "Adwaita$SWITCHTO"
#set the xfce and GTK theme
# if [ $VER == "v4" ]; then
# xfconf-query -c xsettings -p /Net/IconThemeName -s "Papirus-Dark"
# gsettings set org.gnome.desktop.interface icon-theme "Papirus-Dark"
# else
# xfconf-query -c xsettings -p /Net/IconThemeName -s "Adwaita$SWITCHTO"
# gsettings set org.gnome.desktop.interface icon-theme "Adwaita$SWITCHTO"
# fi
#change the background image and be cool about it ;)
swww img ~/.config/hypr/wallpaper$SWITCHTO.jpg --transition-fps 60 --transition-type wipe --transition-duration 2
#update the sddm image
ln -sf /usr/share/sddm/themes/sdt/Backgrounds/wallpaper$SWITCHTO.jpg /usr/share/sddm/themes/sdt/wallpaper.jpg
#reset mako
sleep 1
killall -SIGUSR2 dunst
dunst &
#restart the waybar
killall -SIGUSR2 waybar
#killall -SIGUSR2 waybar <-- start causing web brwsers to close so switched to below...
pkill waybar
waybar &
# bottom waybar
#waybar --config ~/.config/waybar/config-bottom.jsonc