Added yazi as base file manager
This commit is contained in:
parent
59565c04f9
commit
3a685df812
5 changed files with 25 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ bind = $mainMod, F, fullscreen, 1
|
||||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||||
|
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
$files = thunar
|
$files = gtk-launch yazi
|
||||||
$term = ghostty
|
$term = ghostty
|
||||||
$scriptsDir = $HOME/.config/hypr/scripts
|
$scriptsDir = $HOME/.config/hypr/scripts
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ windowrulev2 = center, title:^(ROG Control)$
|
||||||
windowrulev2 = center, title:^(Keybindings)$
|
windowrulev2 = center, title:^(Keybindings)$
|
||||||
windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$
|
windowrulev2 = move 72% 7%,title:^(Picture-in-Picture)$
|
||||||
#windowrulev2 = move 72% 7%,title:^(Firefox)$
|
#windowrulev2 = move 72% 7%,title:^(Firefox)$
|
||||||
|
windowrulev2 = move cursor -50% -50%, class:blobdrop
|
||||||
|
|
||||||
# windowrule v2 to avoid idle for fullscreen apps
|
# windowrule v2 to avoid idle for fullscreen apps
|
||||||
windowrulev2 = idleinhibit fullscreen, class:^(*)$
|
windowrulev2 = idleinhibit fullscreen, class:^(*)$
|
||||||
|
|
@ -78,6 +79,7 @@ windowrulev2 = float, title:^(hyprgui)$
|
||||||
windowrulev2 = float, class:^(io.ente.auth)$
|
windowrulev2 = float, class:^(io.ente.auth)$
|
||||||
windowrulev2 = float, class:^(org.rncbc.qjackctl)$
|
windowrulev2 = float, class:^(org.rncbc.qjackctl)$
|
||||||
windowrulev2 = float, class:^(blobdrop)$
|
windowrulev2 = float, class:^(blobdrop)$
|
||||||
|
windowrulev2 = float, title:Yazi-STANDALONE
|
||||||
|
|
||||||
# windowrule v2 - size
|
# windowrule v2 - size
|
||||||
windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
|
windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor|io.missioncenter.MissionCenter)$
|
||||||
|
|
@ -94,10 +96,12 @@ windowrulev2 = size 60% 70%, title:^(ROG Control)$
|
||||||
windowrulev2 = size 60% 70%, title:^(hyprgui)$
|
windowrulev2 = size 60% 70%, title:^(hyprgui)$
|
||||||
windowrulev2 = size 240px 450px, class:^(libresplit)$
|
windowrulev2 = size 240px 450px, class:^(libresplit)$
|
||||||
windowrulev2 = size 500px 1000px, class:^(io.ente.auth)$
|
windowrulev2 = size 500px 1000px, class:^(io.ente.auth)$
|
||||||
|
windowrulev2 = size 60% 70%, title:Yazi-STANDALONE
|
||||||
|
|
||||||
# windowrule v2 - pinning
|
# windowrule v2 - pinning
|
||||||
windowrulev2 = pin,title:^(Picture-in-Picture)$
|
windowrulev2 = pin,title:^(Picture-in-Picture)$
|
||||||
windowrulev2 = pin,class: ^(io.ente.auth)$
|
windowrulev2 = pin,class: ^(io.ente.auth)$
|
||||||
|
windowrulev2 = pin,class:blobdrop
|
||||||
|
|
||||||
#windowrulev2 = pin,title:^(Firefox)$
|
#windowrulev2 = pin,title:^(Firefox)$
|
||||||
|
|
||||||
|
|
|
||||||
3
.config/yadm/bootstrap.d/30-Yazi.sh
Executable file
3
.config/yadm/bootstrap.d/30-Yazi.sh
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/env sh
|
||||||
|
|
||||||
|
yay -S --needed yazi p7zip jq poppler fd ripgrep fzf zoxide imagemagick
|
||||||
9
.config/yazi/keymap.toml
Normal file
9
.config/yazi/keymap.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
[manager]
|
||||||
|
prepend_keymap = [
|
||||||
|
{ on = "<S-l>", desc = "Move to the tab on the left", run = "tab_switch 1 --relative" },
|
||||||
|
{ on = "<S-h>", desc = "Move to the tab on the right", run = "tab_switch -1 --relative" },
|
||||||
|
{ on = ["<Space>", 'z'], desc = "Zip the selected files", run = "shell '7z a .zip \"$@\"' --interactive --cursor=5"}
|
||||||
|
]
|
||||||
|
append_keymap = [
|
||||||
|
{ on = ['c', 'v'], desc = "Drag selected files", run = "shell 'blobdrop -b \"$@\"'" },
|
||||||
|
]
|
||||||
8
.local/share/applications/yazi.desktop
Normal file
8
.local/share/applications/yazi.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Yazi File Manager
|
||||||
|
Comment=File Manager
|
||||||
|
Exec=ghostty --working-directory="~/" --title="Yazi-STANDALONE" -e yazi
|
||||||
|
Categories=Notes;DSA;
|
||||||
|
Icon=/usr/share/icons/Gruvbox-Material-Dark/128x128/apps/system-file-manager.svg
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue