Compare commits

...

2 commits

Author SHA1 Message Date
Dmitry Voronin a4f8e4433a
Yazi: Use _ for hardlinking. 2024-12-11 11:44:39 +03:00
Dmitry Voronin bc582fa0b3
Max: Add udev rules for better sleep. 2024-12-11 11:44:37 +03:00
3 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,7 @@
{ on = "Q"; desc = "Move to prev tab"; run = "tab_swap -1 --relative"; } { on = "Q"; desc = "Move to prev tab"; run = "tab_swap -1 --relative"; }
{ on = "R"; desc = "Rename completely"; run = "rename --empty=stem --cursor=start"; } { on = "R"; desc = "Rename completely"; run = "rename --empty=stem --cursor=start"; }
{ on = "Z"; desc = "Exit yazi"; run = "quit"; } { on = "Z"; desc = "Exit yazi"; run = "quit"; }
{ on = "_"; desc = "Hardlink"; run = "hardlink --follow"; }
{ on = "d"; desc = "Delete"; run = "remove --permanently"; } { on = "d"; desc = "Delete"; run = "remove --permanently"; }
{ on = "e"; desc = "Next tab"; run = "tab_switch 1 --relative"; } { on = "e"; desc = "Next tab"; run = "tab_switch 1 --relative"; }
{ on = "o"; desc = "Open interactively"; run = "open --interactive"; } { on = "o"; desc = "Open interactively"; run = "open --interactive"; }

View file

@ -0,0 +1,10 @@
{
util,
...
}: {
# REF: https://github.com/Sabrina-Fox/WM2-Help#known-wm2-2023-specific-issues-linux
services.udev.extraRules = util.trimTabs ''
SUBSYSTEM=="i2c", KERNEL=="i2c-PNP0C50:00", ATTR{power/wakeup}="disabled"
SUBSYSTEM=="i2c", KERNEL=="i2c-GXTP7385:00", ATTR{power/wakeup}="disabled"
'';
}

View file

@ -1,3 +1,4 @@
# SEE: https://github.com/Sabrina-Fox/WM2-Help
{ ... }: { { ... }: {
home.nixos.enable = true; home.nixos.enable = true;
user = { user = {