extract neovim
This commit is contained in:
parent
be3aecc343
commit
a93abe6f04
13 changed files with 113 additions and 101 deletions
|
|
@ -4,6 +4,8 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
terminal = config.programs.terminal.package;
|
||||
termcmd = "${terminal}/bin/${terminal.pname}";
|
||||
my-deps = {
|
||||
notify-send = "${pkgs.libnotify}/bin/notify-send";
|
||||
playerctl = "${pkgs.playerctl}/bin/playerctl";
|
||||
|
|
@ -299,5 +301,21 @@ in {
|
|||
];
|
||||
install = false;
|
||||
}
|
||||
{
|
||||
name = "git clone";
|
||||
text = ''
|
||||
url=$(wl-paste)
|
||||
${my-deps.notify-send} "Cloning $url"
|
||||
${termcmd} -e -- git clone "$url"
|
||||
${my-deps.notify-send} "Finished cloning $url"
|
||||
'';
|
||||
install = true;
|
||||
hotkeys = [
|
||||
{
|
||||
key = "C";
|
||||
modifier = "SUPER_SHIFT";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue