adding zotero beta package, niri flake config updates, ...
This commit is contained in:
parent
3688d45643
commit
da77469590
7 changed files with 195 additions and 61 deletions
|
@ -92,6 +92,7 @@
|
|||
davinci-resolve-studio
|
||||
processing
|
||||
zotero
|
||||
# nix-config.packages.x86_64-linux.zotero-latest
|
||||
fractal
|
||||
handbrake
|
||||
gmic
|
||||
|
|
|
@ -161,12 +161,12 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
# layer-rules = [
|
||||
# {
|
||||
# matches = [ { namespace="^wpaperd$"; } ];
|
||||
# place-within-backdrop = true;
|
||||
# }
|
||||
# ];
|
||||
layer-rules = [
|
||||
{
|
||||
matches = [ { namespace="^wpaperd$"; } ];
|
||||
place-within-backdrop = true;
|
||||
}
|
||||
];
|
||||
|
||||
window-rules = [
|
||||
# global window rule for shared config
|
||||
|
@ -259,7 +259,7 @@ in
|
|||
|
||||
min-width = 500;
|
||||
min-height = 400;
|
||||
# tiled-state = false;
|
||||
tiled-state = false;
|
||||
|
||||
open-focused = true;
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
|
||||
# This will reset any preference changes for the current working directory (CWD)
|
||||
# then fall back to the predefined preferences in init.lua or yazi.toml
|
||||
{ on = [ "," "R" ]; run = [ "plugin pref-by-location -- reset" ]; desc = "Retpreference of cwd"; }
|
||||
{ on = [ "," "R" ]; run = [ "plugin pref-by-location -- reset" ]; desc = "Reset preference of cwd"; }
|
||||
{ on = [ "," "m" ]; run = [ "sort mtime --reverse=no" "linemode mtime" "plugin pref-by-location -- save" ]; desc = "Sort by modified time"; }
|
||||
{ on = [ "," "M" ]; run = [ "sort mtime --reverse" "linemode mtime" "plugin pref-by-location -- save" ]; desc = "Sort by modified time (reverse)"; }
|
||||
{ on = [ "," "b" ]; run = [ "sort btime --reverse=no" "linemode btime" "plugin pref-by-location -- save" ]; desc = "Sort by birth time"; }
|
||||
|
|
|
@ -44,14 +44,8 @@ pref_by_location:setup({
|
|||
|
||||
-- show_hidden: true|false (Optional) https://yazi-rs.github.io/docs/configuration/yazi#mgr.show_hidden
|
||||
|
||||
-- Some examples:
|
||||
-- Match any folder which has path start with "/mnt/remote/". Example: /mnt/remote/child/child2
|
||||
-- { location = "^/mnt/remote/.*", sort = { "extension", reverse = false, dir_first = true, sensitive = false} },
|
||||
-- Match any folder with name "Downloads"
|
||||
{ location = ".*/Downloads", sort = { "btime", reverse = true, dir_first = true }, linemode = "btime" },
|
||||
-- Match exact folder with absolute path "/home/test/Videos".
|
||||
-- Use helper function `pref_by_location.is_literal_string` to prevent the case where the path contains special characters
|
||||
-- { location = pref_by_location.is_literal_string("/home/test/Videos"), sort = { "btime", reverse = true, dir_first = true }, linemode = "btime" },
|
||||
{ location = ".*/Downloads", sort = { "mtime", reverse = true, dir_first = false }, linemode = "time_and_size" },
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue