diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index f8843f5..94e7790 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1,5 +1,6 @@ env = WLR_DRM_DEVICES,/dev/dri/card0:/dev/dri/card1 env = WLR_NO_HARDWARE_CURSORS,1 +env = TERMINAL,alacritty $scripts = /home/user/.config/scripts @@ -123,8 +124,8 @@ gestures { $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bindr = $mainMod, SUPER_L, exec, $scripts/toggle_rofi.sh -bindr = $mainMod, SUPER_R, exec, $scripts/toggle_rofi.sh +bindr = $mainMod, SUPER_L, exec, pkill rofi || rofi -show drun +bindr = $mainMod, SUPER_R, exec, pkill rofi || rofi -show drun bind = $mainMod, return, exec, $scripts/launch_alacritty.sh $(hyprctl activewindow -j | jq .pid) bind = $mainMod SHIFT, return, exec, alacritty bind = $mainMod, Q, killactive, @@ -168,10 +169,10 @@ bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, J, movewindow, d -bind = $mainMod ALT, L, resizeactive, 20 0 -bind = $mainMod ALT, H, resizeactive, -20 0 -bind = $mainMod ALT, K, resizeactive, 0 -20 -bind = $mainMod ALT, J, resizeactive, 0 20 +binde = $mainMod ALT, L, resizeactive, 20 0 +binde = $mainMod ALT, H, resizeactive, -20 0 +binde = $mainMod ALT, K, resizeactive, 0 -20 +binde = $mainMod ALT, J, resizeactive, 0 20 bind = $mainMod, 1, exec, hyprsome workspace 1 bind = $mainMod, 2, exec, hyprsome workspace 2