fix: properly configure yazi
Now super+e opens yazi instead of trying to open dolphin
This commit is contained in:
parent
0a369a745b
commit
392a94a4ec
5 changed files with 20 additions and 23 deletions
|
@ -213,7 +213,7 @@
|
|||
bind = $mainMod SHIFT, F, fullscreen, 1
|
||||
bind = $mainMod SHIFT, P, exec, ~/.local/share/scripts/hyprland/screenshot.sh
|
||||
bind = $mainMod, C, killactive
|
||||
bind = $mainMod, E, exec, dolphin
|
||||
bind = $mainMod, E, exec, wezterm start fish -c "ya"
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, M, exit
|
||||
bind = $mainMod, O, togglesplit # dwindle
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{ pkgs, yazi, ... }:
|
||||
|
||||
{
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
package = yazi.packages.${pkgs.system}.default;
|
||||
|
||||
settings = {
|
||||
opener = {
|
||||
text = [{
|
||||
block = true;
|
||||
exec = "nvim \"$@\"";
|
||||
}];
|
||||
};
|
||||
|
||||
theme = builtins.readFile ./theme.toml;
|
||||
};
|
||||
};
|
||||
}
|
9
programs/yazi/yazi.toml
Normal file
9
programs/yazi/yazi.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[opener]
|
||||
video = [
|
||||
{ exec = 'vlc "$1"', desc = "Open in VLC", orphan = true }
|
||||
]
|
||||
|
||||
[open]
|
||||
rules = [
|
||||
{ mime = "video/*", use = "video" }
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue