gtrash, yazi, etc
This commit is contained in:
parent
020a25a945
commit
0f50d45a0a
6 changed files with 63 additions and 21 deletions
30
flake.lock
generated
30
flake.lock
generated
|
@ -759,11 +759,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746889600,
|
"lastModified": 1747571897,
|
||||||
"narHash": "sha256-I82pvD0mdInsQTFA7SisvmJAusgdp8hJXLFBVd73URw=",
|
"narHash": "sha256-1z16dAad0TxvT12sefeNUMfhoXeWGcGDTavbTrdJocM=",
|
||||||
"owner": "viperML",
|
"owner": "viperML",
|
||||||
"repo": "nh",
|
"repo": "nh",
|
||||||
"rev": "9bbd96385f5534ccc2ba7f0b3c29192d7f0eb68c",
|
"rev": "d065dc9bfe25a1cbc308e67e0222e741f615bf74",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1131,11 +1131,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_7": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746576598,
|
"lastModified": 1747426788,
|
||||||
"narHash": "sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0=",
|
"narHash": "sha256-N4cp0asTsJCnRMFZ/k19V9akkxb7J/opG+K+jU57JGc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b3582c75c7f21ce0b429898980eddbbf05c68e55",
|
"rev": "12a55407652e04dcf2309436eb06fef0d3713ef3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1250,11 +1250,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746931022,
|
"lastModified": 1747449297,
|
||||||
"narHash": "sha256-cXn1RsYZjS23n0+YP3TiH7XBlEvy8FA2mG54MdAL6x0=",
|
"narHash": "sha256-veyXchTz6eWwvuW5X49UluHkheHkFcqHJSwGuKBhrmQ=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "c46d2764319f962b20ce9c03ce6644dd0de87bc9",
|
"rev": "f44db7d7cea4528288780c6347756173a8248225",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1559,11 +1559,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "nix",
|
"dir": "nix",
|
||||||
"lastModified": 1747502269,
|
"lastModified": 1747573338,
|
||||||
"narHash": "sha256-l1Eaj0bY5fvDUSql8Y3DBn8xRFqms9qgtYjJhOeeISM=",
|
"narHash": "sha256-L5pVi8lvf916b/eQh4iIOK53kz/hgBmiNZSeFImMHHo=",
|
||||||
"owner": "wez",
|
"owner": "wez",
|
||||||
"repo": "wezterm",
|
"repo": "wezterm",
|
||||||
"rev": "2bfa34fca5a24c08d50112f92bcb346d05f1e1ee",
|
"rev": "5663e749948df3ed3c2d8ee0bfea6c85226310d9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1658,11 +1658,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747538254,
|
"lastModified": 1747581479,
|
||||||
"narHash": "sha256-PSgcaT1lpn6hz1xFWnQzmCw4Y64fxH+wZlfLUhVUFiU=",
|
"narHash": "sha256-Zl1ivgnEmrKskyBq0XB0JAP3m/ckhLQ15lYp9yQWOjc=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "de950d93cee9873651111c32345886f6649e6134",
|
"rev": "d5e29d45a6f1da29d01a4c8b4942c3963ee1f025",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -259,6 +259,10 @@
|
||||||
name = "bluetui (bluetooth manager)";
|
name = "bluetui (bluetooth manager)";
|
||||||
exec = "/home/emenel/.local/bin/wezapp bluetui";
|
exec = "/home/emenel/.local/bin/wezapp bluetui";
|
||||||
};
|
};
|
||||||
|
gtrash = {
|
||||||
|
name = "gtrash";
|
||||||
|
exec = "/home/emenel/.local/bin/wezapp gtrash r";
|
||||||
|
};
|
||||||
color-picker-clip = {
|
color-picker-clip = {
|
||||||
name = "wl color picker (clipboard)";
|
name = "wl color picker (clipboard)";
|
||||||
exec = "${pkgs.wl-color-picker}/bin/wl-color-picker clipboard";
|
exec = "${pkgs.wl-color-picker}/bin/wl-color-picker clipboard";
|
||||||
|
|
|
@ -14,9 +14,9 @@ in
|
||||||
niri = {
|
niri = {
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
# debug = {
|
debug = {
|
||||||
# honor-xdg-activation-with-invalid-serial = true;
|
honor-xdg-activation-with-invalid-serial = [];
|
||||||
# };
|
};
|
||||||
|
|
||||||
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
|
screenshot-path = "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png";
|
||||||
prefer-no-csd = true;
|
prefer-no-csd = true;
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
cmake
|
cmake
|
||||||
cmake-format
|
cmake-format
|
||||||
|
|
||||||
|
mediainfo
|
||||||
|
gtrash
|
||||||
|
|
||||||
just
|
just
|
||||||
readline
|
readline
|
||||||
rlwrap
|
rlwrap
|
||||||
|
@ -99,6 +102,7 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"em" = "emacsclient -n -r";
|
"em" = "emacsclient -n -r";
|
||||||
"mkdir" = "mkdir -pv";
|
"mkdir" = "mkdir -pv";
|
||||||
|
"gt" = "gtrash";
|
||||||
};
|
};
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
bind --erase \ct
|
bind --erase \ct
|
||||||
|
|
|
@ -64,6 +64,18 @@
|
||||||
rev = "HEAD";
|
rev = "HEAD";
|
||||||
sha256 = "sha256-U6rr3TrFTtnibrwJdJ4rN2Xco4Bt4QbwEVUTNXlWRps=";
|
sha256 = "sha256-U6rr3TrFTtnibrwJdJ4rN2Xco4Bt4QbwEVUTNXlWRps=";
|
||||||
};
|
};
|
||||||
|
starship = pkgs.fetchFromGitHub {
|
||||||
|
owner = "Rolv-Apneseth";
|
||||||
|
repo = "starship.yazi";
|
||||||
|
rev = "HEAD";
|
||||||
|
sha256 = "sha256-ORcexu1f7hb7G4IyzQIfGlCkH3OWlk4w5FtZrbXkR40=";
|
||||||
|
};
|
||||||
|
office = pkgs.fetchFromGitHub {
|
||||||
|
owner = "macydnah";
|
||||||
|
repo = "office.yazi";
|
||||||
|
rev = "HEAD";
|
||||||
|
sha256 = "sha256-ORcexu1f7hb7G4IyzQIfGlCkH3OWlk4w5FtZrbXkR40=";
|
||||||
|
};
|
||||||
|
|
||||||
dir-rules = ./yazi/plugins/dir-rules.yazi;
|
dir-rules = ./yazi/plugins/dir-rules.yazi;
|
||||||
smart-tab = ./yazi/plugins/smart-tab.yazi;
|
smart-tab = ./yazi/plugins/smart-tab.yazi;
|
||||||
|
@ -133,20 +145,40 @@
|
||||||
};
|
};
|
||||||
plugin = {
|
plugin = {
|
||||||
prepend_preloaders = [
|
prepend_preloaders = [
|
||||||
{ name = "/mnt/**"; run = "noop"; }
|
|
||||||
{ name = "/home/emenel/Mounts/**"; run = "noop"; }
|
{ name = "/home/emenel/Mounts/**"; run = "noop"; }
|
||||||
|
{ name = "/mnt/**"; run = "noop"; }
|
||||||
|
|
||||||
|
# { mime = "{image,audio,video}/*"; run = "mediainfo";}
|
||||||
|
# { mime = "application/x-subrip"; run = "mediainfo";}
|
||||||
|
|
||||||
|
# Office Documents
|
||||||
|
{ mime = "application/openxmlformats-officedocument.*"; run = "office"; }
|
||||||
|
{ mime = "application/oasis.opendocument.*"; run = "office"; }
|
||||||
|
{ mime = "application/ms-*"; run = "office"; }
|
||||||
|
{ mime = "application/msword"; run = "office"; }
|
||||||
|
{ name = "*.docx"; run = "office"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
prepend_previewers = [
|
prepend_previewers = [
|
||||||
|
# { mime = "{image,audio,video}/*"; run = "mediainfo";}
|
||||||
|
# { mime = "application/x-subrip"; run = "mediainfo";}
|
||||||
|
|
||||||
{ name = "*.csv"; run = "rich-preview"; }
|
{ name = "*.csv"; run = "rich-preview"; }
|
||||||
{ name = "*.md"; run = "rich-preview" ; }
|
{ name = "*.md"; run = "rich-preview" ; }
|
||||||
{ name = "*.rst"; run = "rich-preview"; }
|
{ name = "*.rst"; run = "rich-preview"; }
|
||||||
{ name = "*.ipynb"; run = "rich-preview"; }
|
{ name = "*.ipynb"; run = "rich-preview"; }
|
||||||
{ name = "*.json"; run = "rich-preview"; }
|
{ name = "*.json"; run = "rich-preview"; }
|
||||||
{ name = "*.org"; run = "rich-preview"; }
|
{ name = "*.org"; run = "rich-preview"; }
|
||||||
|
|
||||||
|
# Office Documents
|
||||||
|
{ mime = "application/openxmlformats-officedocument.*"; run = "office"; }
|
||||||
|
{ mime = "application/oasis.opendocument.*"; run = "office"; }
|
||||||
|
{ mime = "application/ms-*"; run = "office"; }
|
||||||
|
{ mime = "application/msword"; run = "office"; }
|
||||||
|
{ name = "*.docx"; run = "office"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
append_previewers = [
|
append_previewers = [
|
||||||
{ mime = "{image,audio,video}/*"; run = "mediainfo";}
|
|
||||||
{ mime = "application/x-subrip"; run = "mediainfo";}
|
|
||||||
# Archive previewer
|
# Archive previewer
|
||||||
{ name = "*.zip"; run = "ouch"; }
|
{ name = "*.zip"; run = "ouch"; }
|
||||||
{ mime = "application/*zip"; run = "ouch"; }
|
{ mime = "application/*zip"; run = "ouch"; }
|
||||||
|
@ -157,6 +189,7 @@
|
||||||
{ mime = "application/x-xz"; run = "ouch"; }
|
{ mime = "application/x-xz"; run = "ouch"; }
|
||||||
{ mime = "application/octet-stream"; run = "ouch"; }
|
{ mime = "application/octet-stream"; run = "ouch"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
_spotters = [
|
_spotters = [
|
||||||
{ name = "*"; run = "file-extra-metadata"; }
|
{ name = "*"; run = "file-extra-metadata"; }
|
||||||
];
|
];
|
||||||
|
|
|
@ -10,6 +10,7 @@ require("restore"):setup({
|
||||||
show_confirm = true,
|
show_confirm = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- require("starship"):setup()
|
||||||
|
|
||||||
Status:children_add(function()
|
Status:children_add(function()
|
||||||
local h = cx.active.current.hovered
|
local h = cx.active.current.hovered
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue