This commit is contained in:
Aleksandr Lebedev 2025-09-12 23:37:23 +02:00
parent 919e775f28
commit d610304eeb
5 changed files with 52 additions and 45 deletions

View file

@ -29,6 +29,9 @@ in
gammastep # night mode
colloid-gtk-theme
qt6ct
grim
slurp
satty
libsForQt5.qt5ct
];
programs.kitty = {

View file

@ -61,7 +61,7 @@ in
binds = with config.lib.niri.actions; let
sh = spawn "sh" "-c";
emacs = action: sh "emacsclient -c --eval \"${action}\"";
screenshot-annotate = sh ''${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp} -w 0)" -t ppm - | ${lib.getExe pkgs.satty} --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush'';
screenshot-annotate = sh ''${lib.getExe pkgs.grim} -g "$(${lib.getExe pkgs.slurp} -w 0)" -t ppm - | ${lib.getExe pkgs.satty} --early-exit --copy-command 'wl-copy' --filename '~/Pictures/Screenshots/Screenshot-%Y-%m-%d_%H:%M:%S.png' --initial-tool brush'';
in {
"Mod+E".action = sh "emacsclient -c";
"Mod+Shift+C".action = sh "nautilus";
@ -111,8 +111,10 @@ in
"Ctrl+Alt+Delete" = {
hotkey-overlay.title = "Restart Desktop Shell";
action.spawn = [
"pkill"
"quickshell"
"systemctl"
"--user"
"restart"
"desktop-shell.service"
];
};