diff --git a/homes/nathan/home-manager/programs/hyprland/default.nix b/homes/nathan/home-manager/programs/hyprland/default.nix index 1dc18bc..e884f89 100644 --- a/homes/nathan/home-manager/programs/hyprland/default.nix +++ b/homes/nathan/home-manager/programs/hyprland/default.nix @@ -38,15 +38,13 @@ variables = [ "--all" ]; }; - extraConfig = (if config.homeconfig.hyprpanel.enable then '' - bind = , Print, exec, bash -c ${pkgs.hyprpanel}/share/scripts/screenshot.sh" - '' else '' - bind = , Print, exec, grim -g "$(slurp)" - '') + '' + extraConfig = '' + bind = , Print, exec, grim -g "$(slurp)" > ~/Pictures/screenshots/$(date +"%m-%d-%Y_%H:%M:%S").png + source = ${config.home.homeDirectory}/.config/hypr/main.conf exec-shutdown = if [[ -f ${config.home.homeDirectory}/.local/share/calcurse/.calcurse.pid ]]; then rm ${config.home.homeDirectory}/.local/share/calcurse/.calcurse.pid; fi - ''; + ''; }; };