diff --git a/home-manager/users/nathan/packages/scripts/default.nix b/home-manager/users/nathan/packages/scripts/default.nix index c6c5722..9648144 100644 --- a/home-manager/users/nathan/packages/scripts/default.nix +++ b/home-manager/users/nathan/packages/scripts/default.nix @@ -69,6 +69,9 @@ cp ${config.home.homeDirectory}/Pictures/Wallpaper/bluescape.jpg ${config.home.homeDirectory}/.config/background chmod 600 ${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 hyprctl dispatch exec "setWallpaper ${config.home.homeDirectory}/.config/background" hyprctl dispatch exec ${pkgs.pyprland}/bin/pypr @@ -77,7 +80,6 @@ hyprctl setcursor Bibata-Modern-Classic 16 sleep 5 hyprctl reload - hyprctl dispatch exec "hyprpanel -q; hyprpanel" hyprctl dispatch exec ${pkgs.pyprland}/bin/pypr toggle calendar #tmux new-session -s hyprland '')