lowcase homedir

This commit is contained in:
Matt Nish-Lapidus 2025-06-22 23:40:17 -04:00
parent c7069c3b78
commit 706b07fd33
9 changed files with 76 additions and 59 deletions

84
flake.lock generated
View file

@ -90,11 +90,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1750497756,
"narHash": "sha256-4UW5oR9kqzs2BnzxeDvEnoMaD1NTmHwf41Wzt8+E6ac=",
"lastModified": 1750642864,
"narHash": "sha256-eFcwPby0BJKu+7kTdPY5Y11ME/sXaOhXs6uFhGDw3NU=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "b4bf921a1c856836190c9e61e31214aead109c80",
"rev": "3d98cbd003b2097d18a94f6d8d96e1039732cd2e",
"type": "github"
},
"original": {
@ -169,11 +169,11 @@
"flake-compat_5": {
"flake": false,
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
@ -415,11 +415,11 @@
]
},
"locked": {
"lastModified": 1750304462,
"narHash": "sha256-Mj5t4yX05/rXnRqJkpoLZTWqgStB88Mr/fegTRqyiWc=",
"lastModified": 1750614446,
"narHash": "sha256-6WH0aRFay79r775RuTqUcnoZNm6A4uHxU1sbcNIk63s=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "863842639722dd12ae9e37ca83bcb61a63b36f6c",
"rev": "7c35504839f915abec86a96435b881ead7eb6a2b",
"type": "github"
},
"original": {
@ -598,11 +598,11 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1750371918,
"narHash": "sha256-kUA/ZLAE6zqZ13oNZv7f24o9OBp5G3Yf12kuMQNe1E4=",
"lastModified": 1750577079,
"narHash": "sha256-KX7nCVTBEMy75mTqZG/GadOSP717HhVv2aSc1sGPTx8=",
"owner": "hyprwm",
"repo": "hyprlock",
"rev": "e67036e8ccc02af62aa8e885ad7620aa1c2291c7",
"rev": "a9638986c31ab74fd95e83057f7cdd5187747ec7",
"type": "github"
},
"original": {
@ -798,11 +798,11 @@
]
},
"locked": {
"lastModified": 1750263362,
"narHash": "sha256-n5XvEaSanFe9g1AF6l2o+6OE8THpErU44pu6tt0c9PE=",
"lastModified": 1750610317,
"narHash": "sha256-tArf9ek4DoR+5lcDlshGS/CjMjX8vMNfpZ1Ys98UrZM=",
"owner": "nix-community",
"repo": "nh",
"rev": "4b39f8496d5bc4f86d0f256ca4b2d7dbcbd9fc00",
"rev": "e5dbcf9d48257f4a116bc4746e0c59c78e08e161",
"type": "github"
},
"original": {
@ -823,11 +823,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1750471128,
"narHash": "sha256-oR2yjhAPXZDmfFb4UwBeVQcJBtrUNFwufovzN8sTBVc=",
"lastModified": 1750634718,
"narHash": "sha256-wVCB2iwu1sP9GfUVLSYJTE/U9I8InxCUlqK5WIwOUaw=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "13e7a34df7aa4e7d8ec4dd9df9d5a01973f28f49",
"rev": "e291d0634368fe8406cf237d3e8bc0326079752d",
"type": "github"
},
"original": {
@ -953,11 +953,11 @@
"website-builder": "website-builder"
},
"locked": {
"lastModified": 1750367617,
"narHash": "sha256-1kz35TbeqhJMdo1s/WHidoUT64IuoKCGlngv5/JCHiw=",
"lastModified": 1750616651,
"narHash": "sha256-Ylb2Jx+y4dsy3ZRh4FNQ+FT5FEqF3/qwopVNG+6/f1E=",
"owner": "rasmus-kirk",
"repo": "nixarr",
"rev": "450d76583ae6ec025577bde7da2a38cfc7fb0510",
"rev": "7b4e2e6780c0f6979cd0c7f4375c15de06554d1a",
"type": "github"
},
"original": {
@ -968,11 +968,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1750083401,
"narHash": "sha256-ynqbgIYrg7P1fAKYqe8I/PMiLABBcNDYG9YaAP/d/C4=",
"lastModified": 1750431636,
"narHash": "sha256-vnzzBDbCGvInmfn2ijC4HsIY/3W1CWbwS/YQoFgdgPg=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "61837d2a33ccc1582c5fabb7bf9130d39fee59ad",
"rev": "1552a9f4513f3f0ceedcf90320e48d3d47165712",
"type": "github"
},
"original": {
@ -1156,11 +1156,11 @@
},
"nixpkgs_6": {
"locked": {
"lastModified": 1750523110,
"narHash": "sha256-6rpunQamYOQcM1wWUgQ9uZwAm/6hji4qT7klW/1wY+w=",
"lastModified": 1750644976,
"narHash": "sha256-OPfaPJ8o2Wg4GoD6svPcVWFlA+wXENw8BXe80Ts4Yr4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "47a0645979bd642dcd860d332963b32587ede0f3",
"rev": "76331122e059fac9d1fde79784dc145e2451ad84",
"type": "github"
},
"original": {
@ -1172,11 +1172,11 @@
},
"nixpkgs_7": {
"locked": {
"lastModified": 1745391562,
"narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=",
"lastModified": 1748460289,
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7",
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
"type": "github"
},
"original": {
@ -1567,11 +1567,11 @@
"nixpkgs": "nixpkgs_7"
},
"locked": {
"lastModified": 1750432530,
"narHash": "sha256-LvbqUWcV+Q28lYqHdhedOQxTxbu4ep0I9iIAp4fFyKs=",
"lastModified": 1750594939,
"narHash": "sha256-peH5XfNaNZRUjeyKvug2bY5OcV7BYtaX9LZI2oyCKN4=",
"owner": "Alexays",
"repo": "Waybar",
"rev": "dfbf1ff2a06827138590bf89d2f373c2c84632c8",
"rev": "4730fc4d77f149d682fa40fa007dfea644579d36",
"type": "github"
},
"original": {
@ -1614,11 +1614,11 @@
},
"locked": {
"dir": "nix",
"lastModified": 1750014871,
"narHash": "sha256-2P4YKeMy9LXy0totnWIWzgW3A0UwB7HY0CfdCt8OOBU=",
"lastModified": 1750571237,
"narHash": "sha256-sc6D/HSaArKwdzyDvMbirPQlJPHI2PoqUUh1haVOw5Q=",
"owner": "wez",
"repo": "wezterm",
"rev": "d6c178f961d3de351ad72b8176f5d05e8ad8e8c6",
"rev": "2b656cb5b931fc32e79421d38a141d1de2f2aeec",
"type": "github"
},
"original": {
@ -1692,11 +1692,11 @@
"rust-overlay": "rust-overlay_3"
},
"locked": {
"lastModified": 1750255296,
"narHash": "sha256-ejuEJxTMS6Sd5IUoa8iF4YJkOvAy3Yf7jWEgcjTwwyM=",
"lastModified": 1750598626,
"narHash": "sha256-ieynNsBpnSrAI5sDft9DxoSeInC0G7fekarQTbG+O+8=",
"owner": "sxyazi",
"repo": "yazi",
"rev": "1a6abae974370702c8865459344bf256de58359e",
"rev": "ab0fe931506bb4f9fcbb114f107321a75145ec27",
"type": "github"
},
"original": {
@ -1713,11 +1713,11 @@
]
},
"locked": {
"lastModified": 1750436703,
"narHash": "sha256-1cnsylamHkbwBJKcH6HP/HDQysQ8d+AMSepXl0U3IIc=",
"lastModified": 1750557004,
"narHash": "sha256-P3H0y4eYALvie8iFcT1LqmR+cB5UgT/qFoUWY/CX5O4=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "a6273cc86a9ee8527e32649b56e865ad3bf1705d",
"rev": "5bebd80f8684a7298013fcf9bf846369d3a6542a",
"type": "github"
},
"original": {

View file

@ -90,8 +90,8 @@ in
"- .cache"
"- .nix*"
"- .steam*"
"- Sync"
"- Mounts"
"- sync"
"- mounts"
"- .BitwigStudio"
"- .local/share/bitwig"
"- .local/share/flatpak"
@ -144,7 +144,7 @@ in
};
systemd.user.tmpfiles.rules = [
"L /home/emenel/Mounts - - - - /mnt"
"L /home/emenel/mounts - - - - /mnt"
];
xdg.configFile."xdg-desktop-portal-termfilechooser" = {

View file

@ -60,7 +60,7 @@
trayscale
font-manager
papers
# papers
newsflash
stirling-pdf
@ -114,13 +114,14 @@
qpwgraph
clapper
ardour
oculante
halloy
paleta
wayback
protonplus
fstl
eog
wl-color-picker
# screen recording and streaming

View file

@ -266,10 +266,10 @@ in
}
];
# switch-events = with config.lib.niri.actions; {
# lid-close.action = spawn "niri msg output eDP-1 off";
# lid-open.action = spawn "niri msg output eDP-1 on";
# };
switch-events = with config.lib.niri.actions; {
lid-close.action = spawn "niri msg output eDP-1 off";
lid-open.action = spawn "niri msg output eDP-1 on";
};
binds =
with config.lib.niri.actions;
@ -527,7 +527,7 @@ in
};
"Mod+Shift+Alt+P" = {
hotkey-overlay.title = "Turn Laptop Display On";
action = spawn "niri" "msg" "output" "eDP-1" "on";
action = spawn "niri msg output eDP-1 on";
allow-when-locked = true;
};
};

View file

@ -69,8 +69,8 @@
{ on = ["c" "p"]; run = "copy path"; desc = "Copy file path"; }
{ on = ["c" "u"]; run = "unyank"; desc = "Cancel file copy"; }
{ on = ["g" "y"]; run = "cd ~/Sync"; desc = "Go to ~/Sync"; }
{ on = ["g" "p"]; run = "cd ~/Projects"; desc = "Go to ~/Projects"; }
{ on = ["g" "y"]; run = "cd ~/sync"; desc = "Go to ~/sync"; }
{ on = ["g" "p"]; run = "cd ~/projects"; desc = "Go to ~/projects"; }
{ on = ["g" "s"]; run = "cd ~/source"; desc = "Go to ~/source"; }
{ on = "p"; run = "plugin smart-paste"; }
@ -166,7 +166,7 @@
};
plugin = {
prepend_preloaders = [
{ name = "/home/emenel/Mounts/**"; run = "noop"; }
{ name = "/home/emenel/mounts/**"; run = "noop"; }
{ name = "/mnt/**"; run = "noop"; }
# Office Documents

View file

@ -149,3 +149,19 @@ rules = [
]
# : }}}
[icon]
dirs = [
{ name = ".config", text = "" },
{ name = ".git", text = "" },
{ name = "desktop", text = "" },
{ name = "documents", text = "" },
{ name = "downloads", text = "" },
{ name = "library", text = "" },
{ name = "movies", text = "" },
{ name = "music", text = "" },
{ name = "pictures", text = "" },
{ name = "sync", text = "" },
{ name = "videos", text = "" },
]

View file

@ -45,7 +45,7 @@ pref_by_location:setup({
-- show_hidden: true|false (Optional) https://yazi-rs.github.io/docs/configuration/yazi#mgr.show_hidden
-- Match any folder with name "Downloads"
{ location = ".*/Downloads", sort = { "mtime", reverse = true, dir_first = false }, linemode = "time_and_size" },
{ location = ".*/downloads", sort = { "mtime", reverse = true, dir_first = false }, linemode = "time_and_size" },
},
})

View file

@ -1,7 +1,7 @@
local function setup()
ps.sub("cd", function()
local cwd = cx.active.current.cwd
if cwd:ends_with("Downloads") then
if cwd:ends_with("downloads") then
ya.mgr_emit("sort", { "mtime", reverse = true, dir_first = false })
else
ya.mgr_emit("sort", { "alphabetical", reverse = false, dir_first = true })

View file

@ -2,8 +2,8 @@ R /home/emenel
- .cache"
- .nix*"
- .steam*"
- Sync"
- Mounts"
- sync"
- mounts"
- .BitwigStudio"
- .local/share/bitwig"
- .local/share/flatpak"