summaryrefslogtreecommitdiff
path: root/.config/hypr
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-11-12 23:03:37 -0800
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-11-12 23:03:37 -0800
commitc2c3daf8b7c9e2700b785d948b30ab179df285e6 (patch)
tree1702d826457fa82cc1888fd756329685274ce3e3 /.config/hypr
parent6f21a1d52ce4fbdc0cafd76c91b74b0e1b644c2d (diff)
downloadjrayhawk-dotfiles-c2c3daf8b7c9e2700b785d948b30ab179df285e6.tar.gz
jrayhawk-dotfiles-c2c3daf8b7c9e2700b785d948b30ab179df285e6.zip
hyprland.conf: various fixes
Diffstat (limited to '.config/hypr')
-rw-r--r--.config/hypr/hyprland.conf25
1 files changed, 17 insertions, 8 deletions
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