i3: Use --release

This commit is contained in:
Geoffrey Frogeye 2024-03-09 19:02:57 +01:00
parent 2fa993ad2d
commit 82bafb3428
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 2 additions and 4 deletions

View file

@ -10,8 +10,7 @@ in
xsession.windowManager.i3.config.keybindings = {
"Print" = "exec ${scrot} --focused";
"${mod}+Print" = "exec ${scrot}";
"Ctrl+Print" = "exec ${pkgs.coreutils}/bin/sleep 1 && ${scrot} --select";
# TODO Try using bindsym --release instead of sleep
"Ctrl+Print" = "--release exec ${scrot} --select";
};
};
}