Adding indicators to hyprscrolling + dynamic columnwidth per monitor
This commit is contained in:
@@ -109,6 +109,9 @@ bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# bind = $mainMod, period, layoutmsg, move +col
|
||||||
|
# bind = $mainMod, comma, layoutmsg, swapcol l
|
||||||
|
|
||||||
# Mouse drag
|
# Mouse drag
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|||||||
@@ -89,3 +89,4 @@ bindl = , switch:on:Lid Switch, exec, ~/.config/hypr/scripts/lid-lock.sh
|
|||||||
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
|
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
|
||||||
|
|
||||||
exec-once = systemd-run --user --scope --unit=elephant elephant
|
exec-once = systemd-run --user --scope --unit=elephant elephant
|
||||||
|
exec-once = ~/.config/hypr/scripts/hyprscrolling-listener.sh
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Adjust these to match `hyprctl monitors`
|
||||||
|
ULTRAWIDE="DP-1"
|
||||||
|
LAPTOP="eDP-1"
|
||||||
|
|
||||||
|
MONITOR="$1"
|
||||||
|
|
||||||
|
case "$MONITOR" in
|
||||||
|
"$ULTRAWIDE")
|
||||||
|
hyprctl dispatch layoutmsg colresize all 0.25
|
||||||
|
;;
|
||||||
|
"$LAPTOP")
|
||||||
|
hyprctl dispatch layoutmsg colresize all 1.0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
Reference in New Issue
Block a user