Compare commits

...

2 commits

Author SHA1 Message Date
Dmitry Voronin a8792f8c88
Yazi: Add steam-run opener. 2024-12-12 02:31:34 +03:00
Dmitry Voronin fc2d94585b
Yazi: Add go game. 2024-12-12 02:31:31 +03:00
2 changed files with 10 additions and 3 deletions

View file

@ -26,12 +26,14 @@
{ on = [ "g" "S" ]; desc = "Go to storage"; run = "cd /storage"; }
{ on = [ "g" "T" ]; desc = "Go to system tmp"; run = "cd /tmp"; }
{ on = [ "g" "U" ]; desc = "Go to user"; run = "cd /run/user/$UID"; }
{ on = [ "g" "c" ]; desc = "Go to configs"; run = "noop"; }
# { on = [ "g" "c" ]; desc = "Go to configs"; run = "noop"; }
{ on = [ "g" "d" ]; desc = "Go to downloads"; run = "cd $XDG_DOWNLOAD_DIR"; }
{ on = [ "g" "p" ]; desc = "Go to projects"; run = "cd ~/project"; }
{ on = [ "g" "l" ]; desc = "Go to locker"; run = "cd ~/locker"; }
{ on = [ "g" "n" ]; desc = "Go to nix"; run = "cd ~/nix"; }
{ on = [ "g" "p" ]; desc = "Go to project"; run = "cd ~/project"; }
{ on = [ "g" "s" ]; desc = "Go to sync"; run = "cd ~/sync"; }
{ on = [ "g" "t" ]; desc = "Go to tmp"; run = "cd ~/tmp"; }
{ on = [ "g" "n" ]; desc = "Go to nix"; run = "cd ~/nix"; }
{ on = [ "g" "w" ]; desc = "Go to game"; run = "cd ~/game"; }
];
};
};

View file

@ -96,6 +96,10 @@
desc = "Switch Install";
run = openWith "switch_install";
}];
steam_run = [{
desc = "Run";
run = openWith "steam-run";
}];
unlock = [{
desc = "Unlock";
block = true;
@ -154,6 +158,7 @@
(mkMime "application/vnd.openxmlformats-officedocument.*" [ "document" ])
(mkName "*.xlsx" [ "document" ])
(mkMime "inode/directory" [ "audio_shuffle" ])
(mkMime "application/x-executable" [ "steam_run" ])
(mkMime "*" [ ])
];
};