Add hyprland config

This commit is contained in:
Martin Larsson 2024-04-07 02:10:08 +02:00
parent c9f3439835
commit b21ebf8043
5 changed files with 316 additions and 0 deletions

10
hypr/hyprpaper_preload.sh Executable file
View file

@ -0,0 +1,10 @@
monitor="DP-1"
wallpaper_dir="$HOME/dev/git/.dotfiles/wallpapers/catppuccin"
wallpapers=$(find "$wallpaper_dir" -type f | sort -R)
for wallpaper in $wallpapers; do
preload_string+="preload = "$wallpaper"\n"
wallpaper_string+="wallpaper = $monitor, $wallpaper\n"
done
echo -en "$preload_string$wallpaper_string\nsplash=false" > ~/.config/hypr/hyprpaper.conf