Set yazi as default terminal file manager + update hypr config

This commit is contained in:
Hydroxycarbamide 2024-08-17 21:34:27 +02:00
parent 958d345c2d
commit 8cb9ba80d8
7 changed files with 15 additions and 7 deletions

View file

@ -10,7 +10,7 @@ general {
layout = master
allow_tearing = true
allow_tearing = false
}
group {

View file

@ -21,7 +21,8 @@ bind = $mod, Return, exec, footclient
bind = $mod SHIFT, Return, exec, footclient -F
bind = $mod SHIFT, E, exec, xdg-open .
# bind = $mod, E, exec, footclient -a "fm-term" tmux new-session -A -s filemanager 'nnn -da -P p'
bind = $mod, E, exec, kitty --class="fm-term" nnn -a -P p
# bind = $mod, E, exec, kitty --class="fm-term" nnn -a -P p
bind = $mod, E, exec, footclient -a "fm-term" yazi
bind = $mod, Space, togglefloating,
bind = $mod, T, exec, swaync-client --toggle-panel
# bind = $mod SHIFT, D, exec, tofi-drun --drun-launch=true
@ -169,7 +170,7 @@ bind = $mod SHIFT, period, movewindow, mon:+1
# hycov
# bind = $mod, W, hycov:toggleoverview
# bind = $mod SHIFT, W, hycov:toggleoverview
# bind = $mod, Tab, hycov:toggleoverview
# bind = $mod SHIFT, Tab,hycov:toggleoverview,forceall #grave key is the '~' key
# bind = $mod CONTROL, Tab, hycov:toggleoverview,forceallinone

View file

@ -8,3 +8,6 @@ source = ~/.config/hypr/binds.conf
source = ~/.config/hypr/env.conf
source = ~/.config/hypr/exec.conf
debug {
disable_logs = false
}

View file

@ -25,6 +25,7 @@ windowrulev2 = center, title:^(Move files)$
# windowrulev2 = stayfocused, title:^()$,class:^(steam)$
# windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = fullscreen, class:^(genshinimpact.exe|starrail.exe|zenlesszonezero.exe)$
# transparency
windowrulev2 = opacity 1.0 override 0.9 override, class:^(kitty|foot|footclient|floating-foot|VSCodium|Code|neovide)$
@ -40,7 +41,7 @@ windowrulev2 = workspace 3, class:^(thunar|org.qbittorrent.qBittorrent|org.kde.d
windowrulev2 = workspace 3, title:^Syncplay*
# 4 games, gaming
windowrulev2 = workspace 4, class:^(steam_app_*|osu\!|org.prismlauncher.PrismLauncher|steam_app_671860|com.usebottles.bottles|moe.launcher.an-anime-game-launcher|moe.launcher.the-honkers-railway-launcher|genshinimpact.exe|starrail.exe|trackma-*|cs2|csgo_linux64)$
windowrulev2 = workspace 4, class:^(steam_app_*|osu\!|org.prismlauncher.PrismLauncher|steam_app_671860|com.usebottles.bottles|moe.launcher.an-anime-game-launcher|moe.launcher.the-honkers-railway-launcher|genshinimpact.exe|starrail.exe|zenlesszonezero.exe|trackma-*|cs2|csgo_linux64)$
# 5 code
windowrulev2 = workspace 5, class:^(VSCodium|org.remmina.Remmina|Code|Pixelorama)$

View file

@ -441,7 +441,8 @@ binds {
Mod+W { spawn "rofi" "-show" "window" "-theme" "catppuccin-macchiato"; }
Mod+Q { spawn "wlogout" "-p" "layer-shell"; }
Mod+E repeat=false { spawn "kitty" "--class='fm-term'" "nnn" "-da" "-P" "p"; }
// Mod+E repeat=false { spawn "kitty" "--class='fm-term'" "nnn" "-da" "-P" "p"; }
Mod+E repeat=false { spawn "footclient" "-a" "fm-term" "yazi"; }
Mod+Shift+E repeat=false { spawn "xdg-open" "."; }
Mod+V { spawn "bash" "-c" "cliphist list | rofi -dmenu | cliphist decode | wl-copy"; }

View file

@ -156,7 +156,8 @@ done
riverctl map normal Super D spawn "rofi -show drun -theme catppuccin-macchiato"
riverctl map normal Super W spawn "rofi -show window -theme catppuccin-macchiato"
riverctl map normal Super E spawn "kitty --class='fm-term' nnn -da -P p"
# riverctl map normal Super E spawn "kitty --class='fm-term' nnn -da -P p"
riverctl map normal Super E spawn "footclient -a fm-term yazi"
riverctl map normal Super+Shift E spawn "xdg-open $HOME"
# shellcheck disable=SC2016

View file

@ -262,7 +262,8 @@ bindsym $mod+minus scratchpad show
##############
bindsym $mod+Shift+e exec xdg-open $HOME
bindsym $mod+e exec kitty --class="fm-term" nnn -da -P p
# bindsym $mod+e exec kitty --class="fm-term" nnn -da -P p
bindsym $mod+e exec footclient -a fm-term yazi
bindsym $mod+v exec cliphist list | rofi -dmenu | cliphist decode | wl-copy
########