My NixOS configurations + dotfiles
1#!/bin/bash
2
3WALLPAPER=$(cat $HOME/.cache/.wallpaper)
4
5rm -r ~/.cache/wal
6
7# wal -stn -a 90 -i $HOME/wallpaper/$WALLPAPER
8
9if [[ "$(hostname)" == "gentoo" ]]; then
10 hyprctl hyprpaper unload all
11 hyprctl hyprpaper preload $WALLPAPER
12 hyprctl hyprpaper wallpaper ,$WALLPAPER
13fi
14
15if [[ "$(hostname)" != "gentoo" ]]; then
16 swww img $WALLPAPER --transition-fps 120 --transition-duration 2 -t wipe &
17fi
18
19# bash ~/config/scripts/hot-reload.sh