summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-07-21 20:25:41 -0500
committerZachIR <zachir@librem.one>2025-07-21 20:25:41 -0500
commit6ce651ea7a6f0e709de44696ec541c6c225c63ca (patch)
tree73f8cfdc7f235c3fd595f2f092309012c116f9ea
parent8f74840558d946c95b666a891bce9fc168cb299d (diff)
parent9b210e8d01027ce84673fe12c933e8d246b2d0da (diff)
Merge branch 'master' into car
-rw-r--r--Makefile20
-rw-r--r--hypr/hyprland.conf53
-rw-r--r--hypr/pyprland.toml2
3 files changed, 59 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 28bc66e..12854c4 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,23 @@ DCONFS := doas.conf
all:
-install: install-zshconfigs install-shconfigs vimplug-vim
+install: install-hyprplugins install-zshconfigs install-shconfigs vimplug-vim
+
+install-hyprplugins: install-hyprsplit install-hyprland-plugins
+
+install-hyprsplit:
+ @echo "Installing hyprsplit..."
+ @hyprpm add https://github.com/shezdy/hyprsplit || echo "Already installed!"
+ @echo "Enabling hyprsplit..."
+ @hyprpm enable hyprsplit
+ @echo "Done."
+
+install-hyprland-plugins:
+ @echo "Installing hyprland-plugins..."
+ @hyprpm add https://github.com/hyprwm/hyprland-plugins || echo "Already installed!"
+ @echo "Enabling hyprscrolling..."
+ @hyprpm enable hyprscrolling
+ @echo "Done."
install-zshconfigs: $(ZCONFS)
@echo "Installing zsh conf files..."
@@ -34,3 +50,5 @@ doas-conf: $(DCONFS)
@echo "doas.conf..."
@sudo cp -n doas.conf /etc/doas.conf
@echo "Done."
+
+.PHONY: install-hyprplugins install-zshconfigs install-shconfigs vimplug-vim doas-conf install
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index e2d8153..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
@@ -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
@@ -228,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
diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml
index 038e8dc..5c1d343 100644
--- a/hypr/pyprland.toml
+++ b/hypr/pyprland.toml
@@ -85,7 +85,7 @@ lazy = true
size = "50% 50%"
position = "25% 25%"
-[scratchpads.qpwgraph]
+[scratchpads.helvum]
animation = ""
command = "helvum"
class = "org.pipewire.Helvum"