Add sc utility
This commit is contained in:
parent
cc37b14096
commit
095e03ef81
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
'')
|
||||
|
|
Loading…
Reference in a new issue