Hey guys! Well, my problem is kinda simple I think… Every time I wanna close kitty, it asks me if I’m sure… I’ve already made a lot of changes in my “configuration.nix” file and rebooted a lot, I don’t know why this is happening. It’s not a DE probem btw, I was using XFCE before and the same thing was happening. I’ve changed my default shell in “configuration.nix” and not with “chsh -s [shell] user” btw. Hope this can be fixed, thanks already.
This is not NixOS related at all, you probably want to set confirm_os_window_close 0 in your kitty configuration.
4 Likes
It worked! Thanks dude, appreciate it.
Another way to fix it might be to set zsh also as the default shell in kitty.
(In home manager: programs.kitty.settings.shell, probably the same in NixOS)
Unlike confirm_os_window_close 0 which will never prompt you for confirmation, the above will only prompt when programs are running in your shell.
Example:
You cp a big file, and while it is doing the copy, you try to close the tab:
- Your current situation: “Are you sure you want to close […]zsh”
confirm_os_window_close 0: No prompt, the process is terminated, potentially dangerous- this solution (hopefully): “Are you sure you want to close […]cp” (and might even contain the parameters used)
This is at least what worked in my case, using fish which is not the default shell, but I had the same problem
1 Like
