This commit is contained in:
iFargle 2024-01-05 16:17:59 +09:00
parent e7a2c8c100
commit e24c5a2d3a

View file

@ -1,4 +1,4 @@
{ ... }: { { color, ... }: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
settings = { settings = {
monitor = ",highrr,auto,1.25"; monitor = ",highrr,auto,1.25";
@ -49,7 +49,7 @@
# Automatic device mounting # Automatic device mounting
udiskie & udiskie &
DIR=/etc/nixos/git/wallpapers/${theme} DIR=/etc/nixos/git/wallpapers/${color}
IMG=`ls $DIR | shuf -n 1` IMG=`ls $DIR | shuf -n 1`
swww img $DIR/$IMG -t random & swww img $DIR/$IMG -t random &