yazi and nushell updates, new niri key to launch all regular apps

This commit is contained in:
Matt Nish-Lapidus 2025-07-02 13:02:33 -04:00
parent 4f7d109a37
commit e6f4e94c96
4 changed files with 34 additions and 24 deletions

View file

@ -35,7 +35,8 @@ in
];
}
{ command = [ "wpaperd" "--daemon" ]; }
{ command = [ "/home/emenel/.local/bin/niri-delayed-launch-at-startup" ]; }
{ command = [ "${pkgs.filen-desktop}/bin/filen-desktop" ]; }
# { command = [ "/home/emenel/.local/bin/niri-delayed-launch-at-startup" ]; }
];
workspaces = {
@ -287,13 +288,14 @@ in
# shows a list of important hotkeys.
"Mod+Shift+Slash".action = show-hotkey-overlay;
"Mod+Shift+Space".action = toggle-overview;
"Mod+Space" = {
hotkey-overlay.title = "Launcher";
action = wezlaunch "sway-launcher-desktop";
"${app-prefix}+D" = {
hotkey-overlay.title = "Open Default Apps";
action = spawn "/home/emenel/.local/bin/launch-default-apps";
};
"Print" = {
hotkey-overlay.title = "Launcher (alternative key)";
"Mod+Space" = {
hotkey-overlay.title = "Launcher";
action = wezlaunch "sway-launcher-desktop";
};

View file

@ -154,6 +154,15 @@
linemode = "time_and_size";
show_symlink = true;
};
opener = {
edit = [
{ run = "emacsclient -r \"$@\""; desc = "emacsclient"; orphan = true; block = false; }
{ run = "nano \"$@\""; desc = "nano"; orphan = false; block = true; }
];
extract = [
{ run = "ouch d -y \"$@\""; desc = "Extract here with ouch"; }
];
};
open = {
prepend_rules = [
{ name = "*.zip"; use = "extract"; }
@ -206,12 +215,6 @@
{ name = "*"; run = "file-extra-metadata"; }
];
prepend_fetchers = [
# {
# id = "mime";
# name = "*";
# run = "mime-ext";
# prio = "high";
# }
{
id = "git";
name = "*";