mirror of
https://github.com/TheM1Stery/dotfiles.git
synced 2025-04-20 00:51:11 +00:00
fix: use wofi instead of rofi for window switching
rofi for some reason needs to have mouse focus to be able to switch, maybe something that Hyprland broke?
This commit is contained in:
parent
45e08b2358
commit
fac808bb63
1
hypr/hyprland-window-switcher.sh
Executable file
1
hypr/hyprland-window-switcher.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
hyprctl dispatch focuswindow address:"$(hyprctl -j clients | jq -r '.[]|select(.address != "" and .title != "")|(.class + "\t" + .address + "\t" + .title)' | wofi --show dmenu | cut -f2)"
|
@ -1,6 +1,6 @@
|
|||||||
bind = $mainMod, R, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m drun
|
bind = $mainMod, R, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m drun
|
||||||
bind = $mainMod, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m run
|
bind = $mainMod, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m run
|
||||||
bind = $mainMod, W, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m window
|
bind = $mainMod, W, exec, ~/.config/hypr/hyprland-window-switcher.sh
|
||||||
bind = $mainMod_ALT, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m filebrowser
|
bind = $mainMod_ALT, B, exec, ~/.config/rofi/launchers/type-6/launcher.sh -m filebrowser
|
||||||
bind = $mainMod, X, exec, ~/.config/rofi/powermenu/type-6/powermenu.sh
|
bind = $mainMod, X, exec, ~/.config/rofi/powermenu/type-6/powermenu.sh
|
||||||
bind = $secondaryMod, V, exec, ~/.config/rofi/applets/bin/volume.sh
|
bind = $secondaryMod, V, exec, ~/.config/rofi/applets/bin/volume.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user