From 9ed839f53856aa0d6ce7bfecb0af88db7bb272c0 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 14:48:08 -0500 Subject: Add outputs (all commented out in master) --- scroll/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scroll/config b/scroll/config index 34eaaee..da3c7e9 100644 --- a/scroll/config +++ b/scroll/config @@ -43,6 +43,10 @@ exec hyprpaper # # You can get the names of your outputs by running: scrollmsg -t get_outputs +#output eDP-1 resolution 1920x1080 position 0 0 +#output HDMI-A-1 resolution 1920x1080 position 1920 0 +#output DP-2 resolution 1920x1080 position 0 0 + ### Idle configuration # # Example configuration: -- cgit v1.2.3 From 3cd7676a0e6893bff7228a1fed385624d7002093 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 14:48:24 -0500 Subject: Set border colors in scroll --- scroll/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scroll/config b/scroll/config index da3c7e9..e499557 100644 --- a/scroll/config +++ b/scroll/config @@ -82,9 +82,9 @@ exec hyprpaper default_border pixel 2 gaps inner 4 gaps outer 20 -client.focused #15439e #000000 #e0e0e0 #2e9ef4 #15439e -client.focused_inactive #595959 #000000 #e0e0e0 #2e9ef4 #595959 -client.unfocused #595959 #000000 #e0e0e0 #2e9ef4 #595959 +client.focused #198844 #000000 #e0e0e0 #198844 #198844 +client.focused_inactive #1b1d1c #000000 #e0e0e0 #1b1d1c #1b1d1c +client.unfocused #1b1d1c #000000 #e0e0e0 #1b1d1c #1b1d1c # Idle inhibit for fullscreen windows for_window [all] inhibit_idle fullscreen -- cgit v1.2.3 From c382995939a55af298b3e75307eb479c37c5eef1 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 14:48:52 -0500 Subject: Remove workspace 10 from scroll --- scroll/config | 2 -- 1 file changed, 2 deletions(-) diff --git a/scroll/config b/scroll/config index e499557..5eaee2e 100644 --- a/scroll/config +++ b/scroll/config @@ -188,7 +188,6 @@ animations { bindsym $mod+7 workspace number 7 bindsym $mod+8 workspace number 8 bindsym $mod+9 workspace number 9 - bindsym $mod+0 workspace number 10 # Move focused container to workspace bindsym $mod+Shift+1 move container to workspace number 1; workspace number 1 bindsym $mod+Shift+2 move container to workspace number 2; workspace number 2 @@ -199,7 +198,6 @@ animations { bindsym $mod+Shift+7 move container to workspace number 7; workspace number 7 bindsym $mod+Shift+8 move container to workspace number 8; workspace number 8 bindsym $mod+Shift+9 move container to workspace number 9; workspace number 9 - bindsym $mod+Shift+0 move container to workspace number 10; workspace number 10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. -- cgit v1.2.3 From f1987ba629deeb8f027a7707b745f404ad6af1f3 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 14:49:25 -0500 Subject: Move containers to outputs with MSC h/j/k/l not MC 1/2 --- scroll/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scroll/config b/scroll/config index 5eaee2e..c695d28 100644 --- a/scroll/config +++ b/scroll/config @@ -201,8 +201,10 @@ animations { # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. - bindsym $mod+Ctrl+1 move workspace to output left - bindsym $mod+Ctrl+2 move workspace to output right + bindsym $mod+Shift+Ctrl+h move container to output left + bindsym $mod+Shift+Ctrl+j move container to output down + bindsym $mod+Shift+Ctrl+k move container to output up + bindsym $mod+Shift+Ctrl+l move container to output right # Scaling # Workspace -- cgit v1.2.3 From 4a433d5e3c2f9f1898e8c9652473e0b4de77f57f Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 14:49:49 -0500 Subject: Add maximize lua script for scroll --- scroll/config | 3 +++ scroll/scripts/maximize.lua | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 scroll/scripts/maximize.lua diff --git a/scroll/config b/scroll/config index c695d28..6655223 100644 --- a/scroll/config +++ b/scroll/config @@ -244,6 +244,9 @@ animations { bindsym $mod+Shift+f fullscreen_application toggle bindsym $mod+Ctrl+Alt+f fullscreen_application reset + # Maximize, not fullscreen + bindsym $mod+m lua $scripts/maximize.lua toggle + # Toggle the current focus between tiling and floating mode bindsym $mod+y focus mode_toggle # Toggle layout type (h<->v) diff --git a/scroll/scripts/maximize.lua b/scroll/scripts/maximize.lua new file mode 100644 index 0000000..f0df156 --- /dev/null +++ b/scroll/scripts/maximize.lua @@ -0,0 +1,42 @@ +local args, state = ... + +-- Set up views table +local views = scroll.state_get_value(state, "views") +if views == nil then + scroll.state_set_value(state, "views", {}) + views = scroll.state_get_value(state, "views") +end + +local function find_view(view) + for _, v in ipairs(views) do + if v["object"] == view then + return v + end + end + return nil +end + +if args[1] == 'toggle' then + local focused_view = scroll.focused_view() + local view = find_view(focused_view) + if view == nil then + view = { + object = focused_view, + maximized = false, + wf = 0, + hf = 0 + } + table.insert(views, view) + end + view["maximized"] = not view["maximized"] + if view["maximized"] then + local container = scroll.view_get_container(focused_view) + view["wf"] = scroll.container_get_width_fraction(container) + view["hf"] = scroll.container_get_height_fraction(container) + scroll.command(nil, "set_size h 1.0") + scroll.command(nil, "set_size v 1.0") + else + scroll.command(nil, "set_size h " .. view["wf"]) + scroll.command(nil, "set_size v " .. view["hf"]) + end +end -- cgit v1.2.3 From 5407b39d082fef72ac526ac1fe9a98565cdefbaf Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 14:50:20 -0500 Subject: Fix typo in waybar config --- waybar/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waybar/config b/waybar/config index 74d0fee..7f07eed 100644 --- a/waybar/config +++ b/waybar/config @@ -82,7 +82,7 @@ "separate-outputs": true, "icon": true, "format": "{title}", - "espand": true, + "expand": true, }, "keyboard-state": { "numlock": true, -- cgit v1.2.3 From 9dde73f783e0bac3588bb7506bce9ae06f66366a Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 17:55:33 -0500 Subject: Turn warping off; it's a bit weird --- scroll/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scroll/config b/scroll/config index 6655223..1886bbc 100644 --- a/scroll/config +++ b/scroll/config @@ -97,7 +97,7 @@ layout_heights [0.33333333 0.5 0.666666667 1.0] fullscreen_movefocus true -mouse_warping container +mouse_warping none # Animations animations { -- cgit v1.2.3 From 003ec2c9a33b9adb850525740a481092ed3434a1 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 19:28:44 -0500 Subject: Enable hyprland animations --- hypr/hyprland.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 90cc7b1..a8b0bed 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -139,7 +139,7 @@ decoration { #{{{ Animations options animations { - enabled = no + enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier -- cgit v1.2.3 From c524ef216217a9e49af46ffd4a4933b533b85a1f Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 19:29:04 -0500 Subject: Move hyprscrolling options to plugin options --- hypr/hyprland.conf | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index a8b0bed..d820a44 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -175,16 +175,6 @@ 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 @@ -198,6 +188,14 @@ plugin { num_workspaces = 9 persistent_workspaces = true } + + 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 + } } #}}} -- cgit v1.2.3 From c5ff5261c0e856982f99f137e95cffe675f51a0f Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 19:29:57 -0500 Subject: Try to make hyprscrolling binds more intuitive --- hypr/hyprland.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index d820a44..69fb6b9 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -237,12 +237,12 @@ $secdMod = ALT # hyprscrolling layout binds #bind = $mainMod+SHIFT, H, layoutmsg, move -1 #HYPRSCROLLING #bind = $mainMod+SHIFT, L, layoutmsg, move +1 #HYPRSCROLLING -bind = $mainMod+ALT, H, layoutmsg, movewindowto l #HYPRSCROLLING -bind = $mainMod+ALT, L, layoutmsg, movewindowto r #HYPRSCROLLING -bind = $mainMod+SHIFT, H, movewindow, l #HYPRSCROLLING +bind = $mainMod+CTRL, H, layoutmsg, movewindowto l #HYPRSCROLLING +bind = $mainMod+CTRL, L, layoutmsg, movewindowto r #HYPRSCROLLING +#bind = $mainMod+SHIFT, H, movewindow, l #HYPRSCROLLING bind = $mainMod+SHIFT, L, movewindow, r #HYPRSCROLLING bind = $mainMod+SHIFT, K, movewindow, u #HYPRSCROLLING -bind = $mainMod+SHIFT, J, movewindow, d #HYPRSCROLLING +#bind = $mainMod+SHIFT, J, movewindow, d #HYPRSCROLLING bind = $mainMod, H, layoutmsg, focus l #HYPRSCROLLING bind = $mainMod, J, layoutmsg, focus d #HYPRSCROLLING bind = $mainMod, K, layoutmsg, focus u #HYPRSCROLLING -- cgit v1.2.3 From 4f3d058db4b7471755cc7603f5c3b9bb0738a311 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 19:31:05 -0500 Subject: Fix scrolling on waybar workspaces --- waybar/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waybar/config b/waybar/config index 7f07eed..77e7e6d 100644 --- a/waybar/config +++ b/waybar/config @@ -62,8 +62,8 @@ "persistent-workspaces": { "eDP-1": [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ], }, - "on-scroll-up": "hyprctl dispatch split-workspace e+1", - "on-scroll-down": "hyprctl dispatch split-workspace e-1", + "on-scroll-up": "hyprctl dispatch split:workspace r+1", + "on-scroll-down": "hyprctl dispatch split:workspace r-1", "on-click": "activate" }, "sway/window": { -- cgit v1.2.3 From 837a8fa2fb1f942ecdc8076ca50e6620386b47f3 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 19:53:37 -0500 Subject: Add window rule for easyeffects --- hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 69fb6b9..ba1f623 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -205,6 +205,7 @@ plugin { # Example windowrule v2 # windowrule = float, class:^(kitty)$, title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +windowrulev2 = workspace special:easyeffects silent, class: ^(com\.github\.wwmm\.easyeffects)$ #}}} #{{{ Mods -- cgit v1.2.3 From d23734b67cd5e57ce1b8a3b2f2c37de45d48e8d3 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 20:27:37 -0500 Subject: Make scroll animations faster --- scroll/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scroll/config b/scroll/config index 1886bbc..fae0309 100644 --- a/scroll/config +++ b/scroll/config @@ -102,10 +102,10 @@ mouse_warping none # Animations animations { enabled yes - default yes 300 var 3 [ 0.215 0.61 0.355 1 ] - window_open yes 300 var 3 [ 0 0 1 1 ] - window_move yes 300 var 3 [ 0.215 0.61 0.355 1 ] off 0.05 6 [0 0.6 0.4 0 1 0 0.4 -0.6 1 -0.6] - window_size yes 300 var 3 [ -0.35 0 0 0.5 ] + default yes 100 var 3 [ 0.215 0.61 0.355 1 ] + window_open yes 100 var 3 [ 0 0 1 1 ] + window_move yes 100 var 3 [ 0.215 0.61 0.355 1 ] off 0.05 6 [0 0.6 0.4 0 1 0 0.4 -0.6 1 -0.6] + window_size yes 100 var 3 [ -0.35 0 0 0.5 ] } ### Key bindings -- cgit v1.2.3 From 83f2189e7234cad9054795b77b07d24ca0a7c742 Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 26 Jul 2025 20:37:37 -0500 Subject: Move scroll user.conf to config.d --- .gitignore | 2 +- Makefile | 9 +++------ scroll/config | 3 ++- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 6bd8fea..cf80b9b 100644 --- a/.gitignore +++ b/.gitignore @@ -237,7 +237,7 @@ RVXX EXEX.settings RVXX v2/ RVXX v2.settings SchildiChat/ -scroll/user.conf +scroll/config.d/user.conf Serenity/ Session/ Shibalba EXEX.settings diff --git a/Makefile b/Makefile index 24b5acd..ab6e0da 100644 --- a/Makefile +++ b/Makefile @@ -29,14 +29,11 @@ install-hyprland-plugins: @hyprpm enable hyprscrolling @echo "Done." -install-scrollconf: scroll/user.conf - @echo "Installing user.conf..." - @sudo ln -sf `pwd`/scroll/user.conf /etc/scroll/config.d/user.conf - @echo "Done." +install-scrollconf: scroll/config.d/user.conf -scroll/user.conf: +scroll/config.d/user.conf: @echo "Generating user.conf..." - @echo 'set $$home' $(shell echo $(HOME)) > scroll/user.conf + @echo 'set $$home' $(shell echo $(HOME)) > scroll/config.d/user.conf @echo "Done." install-bashconfigs: $(BCONFS) install-shconfigs diff --git a/scroll/config b/scroll/config index fae0309..c115cd9 100644 --- a/scroll/config +++ b/scroll/config @@ -6,7 +6,7 @@ # # Read `man 5 scroll` for a complete reference. -include /etc/scroll/config.d/* +include ~/.config/scroll/config.d/* ### Variables # @@ -575,3 +575,4 @@ bar { #} } # +include /etc/scroll/config.d/* -- cgit v1.2.3