24.05 Uakari
This commit is contained in:
@@ -24,47 +24,47 @@ lib.mkIf (user != "tv")
|
||||
show_symlink = true;
|
||||
append_keymap = [
|
||||
{ on = [ "<C-g>" ]; run = "lazygit"; desc = "Run Lazygit in current directory"; }
|
||||
{ on = [ "<C-D>" ]; exec = ''shell 'dragon -x -i -T "$1"' --confirm''; }
|
||||
{ on = [ "<C-D>" ]; run = ''shell 'dragon -x -i -T "$1"' --confirm''; }
|
||||
];
|
||||
};
|
||||
opener = {
|
||||
edit = [
|
||||
{ exec = ''hx "$@"''; desc = "helix"; block = true;}
|
||||
{ exec = ''codium "$@"''; orphan = true;}
|
||||
{ exec = ''nano "$@"''; desc = "nano"; block = true;}
|
||||
{ run = ''hx "$@"''; desc = "helix"; block = true;}
|
||||
{ run = ''codium "$@"''; orphan = true;}
|
||||
{ run = ''nano "$@"''; desc = "nano"; block = true;}
|
||||
];
|
||||
play = [
|
||||
{ exec = ''mpv "$@"''; }
|
||||
{ exec = ''mediainfo "$1"; echo "Press enter to exit"; read''; block = true; desc = "Show mediainfo";}
|
||||
{ run = ''mpv "$@"''; }
|
||||
{ run = ''mediainfo "$1"; echo "Press enter to exit"; read''; block = true; desc = "Show mediainfo";}
|
||||
];
|
||||
archive = [
|
||||
{ exec = ''unar "$1"''; desc = "Extract here"; }
|
||||
{ run = ''unar "$1"''; desc = "Extract here"; }
|
||||
];
|
||||
image = [
|
||||
{ exec = ''imv "$@"''; desc = "imv";}
|
||||
{ exec = ''gimp "$@"''; desc = "gimp";}
|
||||
{ exec = ''swww img "$@"''; desc = "swww wallpaper";}
|
||||
{ run = ''imv "$@"''; desc = "imv";}
|
||||
{ run = ''gimp "$@"''; desc = "gimp";}
|
||||
{ run = ''swww img "$@"''; desc = "swww wallpaper";}
|
||||
];
|
||||
font = [
|
||||
{ exec = ''fontpreview "$@"''; desc = "fontpreview"; }
|
||||
{ run = ''fontpreview "$@"''; desc = "fontpreview"; }
|
||||
];
|
||||
document = [
|
||||
{ exec = ''zathura "$@"''; desc = "zathura"; }
|
||||
{ exec = ''firefox "$@"''; desc = "firefox"; }
|
||||
{ run = ''zathura "$@"''; desc = "zathura"; }
|
||||
{ run = ''firefox "$@"''; desc = "firefox"; }
|
||||
];
|
||||
browser = [
|
||||
{ exec = ''firefox "$@"''; desc = "firefox"; }
|
||||
{ run = ''firefox "$@"''; desc = "firefox"; }
|
||||
];
|
||||
office = [
|
||||
{ exec = ''libreoffice "$@"''; desc = "libreoffice"; }
|
||||
{ exec = ''libreoffice --view "$@"''; desc = "libreoffice read-only"; }
|
||||
{ run = ''libreoffice "$@"''; desc = "libreoffice"; }
|
||||
{ run = ''libreoffice --view "$@"''; desc = "libreoffice read-only"; }
|
||||
];
|
||||
shell = [
|
||||
{ exec = ''sh -c "$@"''; desc = "sh -c"; }
|
||||
{ exec = ''bash -c "$@"''; desc = "bash -c"; }
|
||||
{ run = ''sh -c "$@"''; desc = "sh -c"; }
|
||||
{ run = ''bash -c "$@"''; desc = "bash -c"; }
|
||||
];
|
||||
python = [
|
||||
{ exec = ''python "$@"''; desc = "python"; }
|
||||
{ run = ''python "$@"''; desc = "python"; }
|
||||
];
|
||||
};
|
||||
open.rules = [
|
||||
|
||||
Reference in New Issue
Block a user