home-manager/gui: Keep screenshots on clipboard
Use `wl-copy` for Satty copies so screenshots remain available after closing the editor.
This commit is contained in:
1 parent
b5be218f14
commit
f5ef9031a6
1 file changed
+2
-2
@@ -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%";
|
||||
|
||||
Reference in new issue
Block a user