home-manager/gui: Keep screenshots on clipboard
CI / Check, build and cache nixfiles (push) Successful in 47m40s
Update docs / update (push) Successful in 1m18s

Use `wl-copy` for Satty copies so screenshots remain available after
closing the editor.
This commit is contained in:
jackos1998 committed 2026-11-22 12:42:08 +00:00
1 parent b5be218f14
commit f5ef9031a6
1 file changed
+2 -2
+2 -2
View File
@@ -376,8 +376,8 @@ in
"${mod}+Shift+n" = "exec ${clearWsName}";
# Screenshots
"${mod}+Shift+d" = ''exec grim - | satty -f -'';
"${mod}+Shift+s" = ''exec grim -g "$(slurp)" - | satty -f -'';
"${mod}+Shift+d" = ''exec grim - | satty -f - --copy-command "${pkgs.wl-clipboard}/bin/wl-copy"'';
"${mod}+Shift+s" = ''exec grim -g "$(slurp)" - | satty -f - --copy-command "${pkgs.wl-clipboard}/bin/wl-copy"'';
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";