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
|
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; {
|
in with lib; {
|
||||||
|
|
||||||
options.custom.gui.sway = with types; {
|
options.custom.gui.sway = with types; {
|
||||||
|
@ -34,6 +38,7 @@ in with lib; {
|
||||||
kitty
|
kitty
|
||||||
swaylock
|
swaylock
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
sc
|
||||||
(writeScriptBin "c" ''
|
(writeScriptBin "c" ''
|
||||||
${wl-clipboard}/bin/wl-copy
|
${wl-clipboard}/bin/wl-copy
|
||||||
'')
|
'')
|
||||||
|
|
Loading…
Reference in a new issue