hand7s: upstream
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
c12e1edf28
commit
7d44c83d61
48 changed files with 282 additions and 1097 deletions
|
|
@ -50,6 +50,14 @@
|
|||
}
|
||||
];
|
||||
|
||||
view = [
|
||||
{
|
||||
run = "${lib.getExe pkgs.timg} ''-p k -C $@ | ${lib.getExe' pkgs.uutils-coreutils-noprefix "more"}''";
|
||||
block = true;
|
||||
for = "unix";
|
||||
}
|
||||
];
|
||||
|
||||
edit = [
|
||||
{
|
||||
run = "${lib.getExe pkgs.helix} ''$@''";
|
||||
|
|
@ -61,12 +69,36 @@
|
|||
open = [
|
||||
{
|
||||
run = "${lib.getExe' pkgs.xdg-utils "xdg-open"} ''$@''";
|
||||
block = true;
|
||||
orphan = true;
|
||||
for = "unix";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
open = {
|
||||
rules = [
|
||||
{
|
||||
mime = "image/*";
|
||||
use = "view";
|
||||
}
|
||||
|
||||
{
|
||||
mime = "text/*";
|
||||
use = "edit";
|
||||
}
|
||||
|
||||
{
|
||||
mime = "audio/*";
|
||||
use = "play";
|
||||
}
|
||||
|
||||
{
|
||||
mime = "video/*";
|
||||
use = "play";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
input = {
|
||||
cursor_blink = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue