summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hyprland.conf')
-rw-r--r--hypr/hyprland.conf77
1 files changed, 60 insertions, 17 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 48ac312..80848af 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -8,8 +8,8 @@ monitor = , preferred, auto, 1
#{{{ Autostart
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
-exec-once = xdph
exec-once = hyprpm reload -n
+exec-once = xdph
exec-once = hyprpaper
#exec-once = hypridle
exec-once = waybar
@@ -23,7 +23,7 @@ exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources
exec-once = com.github.wwmm.easyeffects
exec-once = systemctl --user start dunst
exec-once = systemctl --user start hypridle
-#exec-once = mpd
+exec-once = mpd
#}}}
#{{{ env
@@ -89,7 +89,7 @@ general {
#col.inactive_border = rgba(595959aa)
col.active_border = rgba(198844ee)
col.inactive_border = rgba(1b1d1cee)
- layout = master
+ layout = scrolling
}
#}}}
@@ -174,6 +174,16 @@ master {
}
#}}}
+#{{{ Hyprscrolling layout options
+plugin:hyprscrolling {
+ fullscreen_on_one_column = true
+ column_width = 0.5
+ explicit_column_widths = 0.333, 0.5, 0.667, 1.0
+ focus_fit_method = 1
+ follow_focus = true
+}
+#}}}
+
#{{{ Gestures options
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
@@ -196,6 +206,24 @@ plugin {
# Example windowrule v2
# windowrule = float, class:^(st)$, title:^(st)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
+windowrule = fullscreen, class:^(Xephyr)$
+windowrule = float, title:^(LibreWolf - Choose User Profile)$
+windowrule = float, class:^(xdg-desktop-portal-gtk)
+windowrule = float, title:^(UNDERTALE)$
+windowrule = float, class:^(Tk)$
+windowrule = float, class:^(lxqt-policykit-agent)$
+windowrule = float, class:^(Kdenlive)$
+windowrule = stayfocused, title:^()$, class:^(steam)$
+windowrule = minsize 1 1, title:^()$, class:^(steam)$
+windowrule = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrule = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrule = float, class:^(yabridge-host.exe.so)$, title:^(menu)$
+windowrule = float, floating:0, title:^(menu*)
+windowrule = workspace 2, title:^(REAPER .*initializing.*)$
+windowrule = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$
+windowrule = tile, class:^(WebApp-Qobuz[0-9]*)$
+windowrule = float, title:^(menu)$
+windowrule = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
#}}}
#{{{ Mods
@@ -210,18 +238,33 @@ $secdMod = ALT
#}}}
#{{{ Master layout binds
-# Master layout binds
-bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster master #MASTER
-bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER
-bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER
-bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER
-bind = $mainMod+SHIFT, L, layoutmsg, removemaster #MASTER
-binde = $mainMod, J, layoutmsg, cyclenext #MASTER
-binde = $mainMod, K, layoutmsg, cycleprev #MASTER
-binde = $mainMod, H, splitratio, -0.01 #MASTER
-binde = $mainMod, L, splitratio, +0.01 #MASTER
-bind = $mainMod+SHIFT, O, splitratio, exact 0.55 #MASTER
-bind = $mainMod, O, splitratio, exact 0.69 #MASTER
+## Master layout binds
+#bind = $mainMod+SHIFT, Return, layoutmsg, swapwithmaster master #MASTER
+#bind = $mainMod+SHIFT, J, layoutmsg, swapnext #MASTER
+#bind = $mainMod+SHIFT, K, layoutmsg, swapprev #MASTER
+#bind = $mainMod+SHIFT, H, layoutmsg, addmaster #MASTER
+#bind = $mainMod+SHIFT, L, layoutmsg, removemaster #MASTER
+#binde = $mainMod, J, layoutmsg, cyclenext #MASTER
+#binde = $mainMod, K, layoutmsg, cycleprev #MASTER
+#binde = $mainMod, H, splitratio, -0.01 #MASTER
+#binde = $mainMod, L, splitratio, +0.01 #MASTER
+#bind = $mainMod+SHIFT, O, splitratio, exact 0.55 #MASTER
+#bind = $mainMod, O, splitratio, exact 0.69 #MASTER
+#}}}
+
+#{{{ hyprscrolling layout binds
+# hyprscrolling layout binds
+#bind = $mainMod+SHIFT, H, layoutmsg, move -1 #HYPRSCROLLING
+#bind = $mainMod+SHIFT, L, layoutmsg, move +1 #HYPRSCROLLING
+bind = $mainMod+SHIFT, H, layoutmsg, movewindowto l #HYPRSCROLLING
+bind = $mainMod+SHIFT, L, layoutmsg, movewindowto r #HYPRSCROLLING
+bind = $mainMod+SHIFT, J, layoutmsg, colresize -conf #HYPRSCROLLING
+bind = $mainMod+SHIFT, K, layoutmsg, colresize +conf #HYPRSCROLLING
+bind = $mainMod, H, movefocus, l #HYPRSCROLLING
+bind = $mainMod, J, movefocus, u #HYPRSCROLLING
+bind = $mainMod, K, movefocus, d #HYPRSCROLLING
+bind = $mainMod, L, movefocus, r #HYPRSCROLLING
+bind = $mainMod+SHIFT, Return, layoutmsg, promote #HYPRSCROLLING
#}}}
#{{{ Group binds
@@ -343,8 +386,8 @@ submap = reset
#}}}
#{{{ Menu bindings
-bind = $mainMod, R, exec, sh -c "tofi-drun --drun-launch=true -c $HOME/.config/tofi/themes/dmenu_vertical"
-bind = $mainMod, D, exec, sh -c "$(tofi-run -c $HOME/.config/tofi/themes/dmenu_vertical)"
+bind = $mainMod, R, exec, sh -c "tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --drun-launch=true"
+bind = $mainMod, D, exec, sh -c "exec $(tofi-run -c ~/.config/tofi/themes/dmenu_vertical)"
bind = $mainMod $secdMod, Q, exec, qbc
bind = $mainMod $secdMod, W, exec, lwc
bind = $mainMod $secdMod, E, exec, mbc