feat: update hyprland's startup script to reduce start duration, update gtk theme configs

This commit is contained in:
ryan4yin
2023-05-07 19:57:25 +08:00
parent 79c424e08e
commit 162399ad8a
7 changed files with 46 additions and 29 deletions
+1 -7
View File
@@ -3,22 +3,16 @@
## Autostart Programs
# Kill already running process
_ps=(waybar mako mpd xfce-polkit)
_ps=(waybar mako mpd)
for _prs in "${_ps[@]}"; do
if [[ $(pidof ${_prs}) ]]; then
killall -9 ${_prs}
fi
done
# Polkit agent
/usr/lib/xfce-polkit/xfce-polkit &
# Set wallpaper
swaybg --output '*' --mode fill --image ~/.config/hypr/wallpapers/wallpaper.png &
# Apply themes
~/.config/hypr/scripts/gtkthemes &
# Lauch notification daemon (mako)
~/.config/hypr/scripts/notifications &