feat: replace i3wm with hyprland

This commit is contained in:
Ryan Yin
2023-05-04 23:59:35 +08:00
committed by ryan4yin
parent 9e549fb733
commit 830605aeec
59 changed files with 1947 additions and 42 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env bash
## Autostart Programs
# Kill already running process
_ps=(waybar mako mpd xfce-polkit)
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 &
# Lauch statusbar (waybar)
~/.config/hypr/scripts/statusbar &
# Start mpd
exec mpd &