this should work
This commit is contained in:
@@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user