From c2c3daf8b7c9e2700b785d948b30ab179df285e6 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Tue, 12 Nov 2024 23:03:37 -0800 Subject: hyprland.conf: various fixes --- .config/hypr/hyprland.conf | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to '.config/hypr/hyprland.conf') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 102133b..7b9a18c 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -14,7 +14,8 @@ source = ~/.config/hypr/$host/monitors.conf # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use -$terminal = xterm +$terminal = foot +$terminal-float = foot -W 80x24 --app-id=foot-float #$fileManager = dolphin #$menu = wofi --show drun $menu = fuzzel @@ -25,7 +26,7 @@ $menu = fuzzel # Note: exec always does shell callout. Bonghits design. # We can sorta undo the memory consumption using exec in the shell. -exec-once = exec $terminal +exec-once = exec $terminal-float # exec-once = exec nm-applet & # exec-once = waybar & hyprpaper & firefox # stipple: @@ -127,7 +128,9 @@ dwindle { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more master { new_status = inherit + new_on_active = after allow_small_split = true + orientation = left } # https://wiki.hyprland.org/Configuring/Variables/#misc @@ -179,11 +182,12 @@ device { $mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, Q, exec, exec $terminal -bind = $mainMod, Return, exec, exec $terminal +bind = $mainMod, Return, exec, exec $terminal +bind = $mainMod SHIFT, Return, exec, exec $terminal-float +bind = $mainMod SHIFT, Y, exec, exec $terminal -e mpv -- "$(xclip -o)" bind = $mainMod, C, killactive, bind = $mainMod SHIFT, C, killactive, # awesome compatibility -bind = $mainMod SHIFT, M, exit, +bind = $mainMod SHIFT, Q, exit, #bind = $mainMod, E, exec, exec $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, exec $menu @@ -192,20 +196,23 @@ bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, F, fullscreen # Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l +bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d # layout bind = $mainMod, j, layoutmsg, cyclenext bind = $mainMod, k, layoutmsg, cycleprev bind = $mainMod, n, layoutmsg, cyclenext bind = $mainMod, p, layoutmsg, cycleprev +#bind = $mainMod h, layoutmsg, mfact -0.1 +#bind = $mainMod l, layoutmsg, mfact, +0.1 bind = $mainMod SHIFT, j, layoutmsg, swapnext bind = $mainMod SHIFT, k, layoutmsg, swapprev bind = $mainMod SHIFT, p, layoutmsg, swapprev bind = $mainMod SHIFT, n, layoutmsg, swapnext +bind = $mainMod, m, layoutmsg, swapwithmaster auto bind = $mainMod SHIFT, h, layoutmsg, addmaster bind = $mainMod SHIFT, l, layoutmsg, removemaster bind = $mainMod, space, layoutmsg, orientationnext @@ -263,4 +270,6 @@ bindm = $mainMod, mouse:273, resizewindow windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. +windowrule = float, -float + source = ~/.config/hypr/$host/workspaces.conf -- cgit v1.2.3