this should work

This commit is contained in:
2025-08-30 23:39:52 -05:00
parent c811e4d4df
commit 32d95647f8
2 changed files with 12 additions and 1 deletions

View File

@@ -19,6 +19,11 @@
if [[ ! -f ${config.home.homeDirectory}/.config/hypr/otf.conf ]]; then if [[ ! -f ${config.home.homeDirectory}/.config/hypr/otf.conf ]]; then
touch ${config.home.homeDirectory}/.config/hypr/otf.conf touch ${config.home.homeDirectory}/.config/hypr/otf.conf
fi fi
if [[ ! -f ${config.home.homeDirectory}/.config/background ]]; then
cp ${config.home.homeDirectory}/Pictures/Wallpaper/bluescape.jpg ${config.home.homeDirectory}/.config/background
chmod 600 ${config.home.homeDirectory}/.config/background
fi
''; '';

View File

@@ -66,7 +66,13 @@
(pkgs.writeShellScriptBin "onSystemStart" '' (pkgs.writeShellScriptBin "onSystemStart" ''
if [[ ! -f ${config.home.homeDirectory}/.config/background ]]; then if [[ ! -f ${config.home.homeDirectory}/.config/background ]]; then
hyprctl dispatch exec "randWallpaper && chmod 600 ${config.home.homeDirectory}/.config/background" cp ${config.home.homeDirectory}/Pictures/Wallpaper/bluescape.jpg ${config.home.homeDirectory}/.config/background
chmod 600 ${config.home.homeDirectory}/.config/background
hyprctl dispatch exec "setWallpaper ${config.home.homeDirectory}/.config/background"
fi
if [[ -f ${config.home.homeDirectory}/.local/share/calcurse/.calcurse.pid ]]; then
rm ${config.home.homeDirectory}/.local/share/calcurse/.calcurse.pid
fi fi
hyprctl dispatch exec ${pkgs.pyprland}/bin/pypr hyprctl dispatch exec ${pkgs.pyprland}/bin/pypr
hyprctl dispatch exec ${pkgs.netbird-ui}/bin/netbird-ui hyprctl dispatch exec ${pkgs.netbird-ui}/bin/netbird-ui