Add sc utility

This commit is contained in:
Riley Apeldoorn 2023-05-25 19:24:19 +02:00 committed by Riley Apeldoorn
parent cc37b14096
commit 095e03ef81

View file

@ -14,6 +14,10 @@ let mod = "Mod4";
in mkMerge keybinds
);
sc = with pkgs; (writeScriptBin "sc" ''
${slurp}/bin/slurp | ${grim}/bin/grim -g - - | ${wl-clipboard}/bin/wl-copy -t image/png
'');
in with lib; {
options.custom.gui.sway = with types; {
@ -34,6 +38,7 @@ in with lib; {
kitty
swaylock
wl-clipboard
sc
(writeScriptBin "c" ''
${wl-clipboard}/bin/wl-copy
'')