forked from extern/nix-config
hyprland: Add random background script
This commit is contained in:
parent
2c9c53481e
commit
7c429a374b
@ -40,6 +40,16 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
xdg.configFile."hypr/random-bg.fish" = {
|
||||
executable = true;
|
||||
text = /* fish */ ''
|
||||
#!/usr/bin/env fish
|
||||
|
||||
cd ~/.config/hypr
|
||||
./set-bg.fish "$(random choice $(fd . /run/current-system/sw/share/backgrounds --follow -e jpg -e png))"
|
||||
'';
|
||||
};
|
||||
|
||||
xdg.configFile."hypr/hyprland.conf".text = with config.lib.stylix.colors; /* bash */ ''
|
||||
env=XCURSOR_SIZE,24
|
||||
env=BROWSER,librewolf
|
||||
|
Loading…
Reference in New Issue
Block a user