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 = {
settings = {
monitor = ",highrr,auto,1.25";
@ -49,7 +49,7 @@
# Automatic device mounting
udiskie &
DIR=/etc/nixos/git/wallpapers/${theme}
DIR=/etc/nixos/git/wallpapers/${color}
IMG=`ls $DIR | shuf -n 1`
swww img $DIR/$IMG -t random &