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

24
flake.lock generated
View file

@ -137,11 +137,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1751447566,
"narHash": "sha256-PD6SIXio6A44d0BjfUYPUyC9SyHnGcQP5N/ceoGJsno=",
"lastModified": 1751473619,
"narHash": "sha256-FZpbizfR/KgS7XQWMZV8txEPWkhjBatSNnnwjD1XTKs=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "6b5c9e8d4cfe157a398aedf877ad6fbb71c6bca6",
"rev": "1de278e46115d49a11ee9b01bfca5b74432e6074",
"type": "github"
},
"original": {
@ -541,11 +541,11 @@
]
},
"locked": {
"lastModified": 1751463936,
"narHash": "sha256-kS8p1QgyFO/95BHSsZMpBs8oRh1bklAd/zzpWhF6ODk=",
"lastModified": 1751474656,
"narHash": "sha256-1+wwOHCAj426dUoRmByXT8y8dRVw4VdL1zJDjRd8ICE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "3d243d4a16cafe855df585b3030aa99261a27a86",
"rev": "a7820832c68180b612587a23f46f1b94a28b3407",
"type": "github"
},
"original": {
@ -1578,11 +1578,11 @@
"rust-overlay": "rust-overlay_3"
},
"locked": {
"lastModified": 1751296710,
"narHash": "sha256-SWKkSaqzVmHi+AnGc706tkvqobDMyYnXifeLTb//pnw=",
"lastModified": 1751469973,
"narHash": "sha256-5Y1aVAYFmV20kmkhcHEQrDDvHiJVQGyYhD1SBCp639E=",
"owner": "sxyazi",
"repo": "yazi",
"rev": "4ff7dae7211a53c3d60f512a39d12425a1b9496c",
"rev": "c7f800ad7ecf76e3431ad1b7005fa24b53726802",
"type": "github"
},
"original": {
@ -1599,11 +1599,11 @@
]
},
"locked": {
"lastModified": 1751440815,
"narHash": "sha256-cBEcG90ahVVPMKEHiyn13KT7cxpcEwSOqrLhgz5/M9k=",
"lastModified": 1751466296,
"narHash": "sha256-64N3qvaJOMYdm96pvvV+7/v1vehYIG7PBDDUrnh/CeA=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "a37c444f51b3e7df8ea3333c57a4154c6b09dc39",
"rev": "947204cae31597b29efee0fcf79585c7dac53bc2",
"type": "github"
},
"original": {

View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
/etc/profiles/per-user/emenel/bin/discord &
/etc/profiles/per-user/emenel/bin/slack &
/etc/profiles/per-user/emenel/bin/signal-desktop &
/etc/profiles/per-user/emenel/bin/plexamp &

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 = "*";