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

View file

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

View file

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

View file

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

View file

@ -69,8 +69,8 @@
{ on = ["c" "p"]; run = "copy path"; desc = "Copy file path"; } { on = ["c" "p"]; run = "copy path"; desc = "Copy file path"; }
{ on = ["c" "u"]; run = "unyank"; desc = "Cancel file copy"; } { on = ["c" "u"]; run = "unyank"; desc = "Cancel file copy"; }
{ on = ["g" "y"]; run = "cd ~/Sync"; desc = "Go to ~/Sync"; } { on = ["g" "y"]; run = "cd ~/sync"; desc = "Go to ~/sync"; }
{ on = ["g" "p"]; run = "cd ~/Projects"; desc = "Go to ~/Projects"; } { on = ["g" "p"]; run = "cd ~/projects"; desc = "Go to ~/projects"; }
{ on = ["g" "s"]; run = "cd ~/source"; desc = "Go to ~/source"; } { on = ["g" "s"]; run = "cd ~/source"; desc = "Go to ~/source"; }
{ on = "p"; run = "plugin smart-paste"; } { on = "p"; run = "plugin smart-paste"; }
@ -166,7 +166,7 @@
}; };
plugin = { plugin = {
prepend_preloaders = [ prepend_preloaders = [
{ name = "/home/emenel/Mounts/**"; run = "noop"; } { name = "/home/emenel/mounts/**"; run = "noop"; }
{ name = "/mnt/**"; run = "noop"; } { name = "/mnt/**"; run = "noop"; }
# Office Documents # 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 -- show_hidden: true|false (Optional) https://yazi-rs.github.io/docs/configuration/yazi#mgr.show_hidden
-- Match any folder with name "Downloads" -- 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() local function setup()
ps.sub("cd", function() ps.sub("cd", function()
local cwd = cx.active.current.cwd 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 }) ya.mgr_emit("sort", { "mtime", reverse = true, dir_first = false })
else else
ya.mgr_emit("sort", { "alphabetical", reverse = false, dir_first = true }) ya.mgr_emit("sort", { "alphabetical", reverse = false, dir_first = true })

View file

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