]> Freerunner's - dotfiles.git/commitdiff
hypr: many tweaks in different locations
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 3 Feb 2025 05:27:09 +0000 (06:27 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Mon, 3 Feb 2025 05:27:09 +0000 (06:27 +0100)
dot-config/hypr/fragments/animations.conf
dot-config/hypr/fragments/keybinds.conf
dot-config/hypr/fragments/windowrules.conf
dot-config/hypr/fragments/workspacerules.conf
dot-config/hypr/hyprland.conf
dot-config/hypr/scripts/startup.sh

index 35e98f8348e3f5c4b240fa83e61f4ec395f69578..648590f79806c80e45be5945c678e4b45e5b520e 100644 (file)
@@ -4,7 +4,7 @@ animations {
    bezier = myBezier, 0.05, 0.9, 0.1, 1.00
    bezier = overshoot, 0.05, 0.9, 0.2, 1.00
    bezier = easeOutQuad, 0.5, 1, 0.89, 1
-   animation = windows, 1, 3, easeOutQuad
+   animation = windows, 1, 2, easeOutQuad
    animation = borderangle, 1, 5, default
    animation = fade, 1, 5, default
    animation = fadeShadow, 1, 1, default
@@ -14,8 +14,8 @@ animations {
     bezier = winIn, 0.1, 1.1, 0.1, 1.1
     bezier = winOut, 0.3, -0.3, 0, 1
     bezier = liner, 1, 1, 1, 1
-    animation = windowsIn, 1, 6, overshoot, slide
-    animation = windowsOut, 1, 5, winOut, slide
+    animation = windowsIn, 1, 2, overshoot, slide
+    animation = windowsOut, 1, 2, winOut, slide
     animation = border, 1, 1, liner
 }
 
index 90add6ffb347e56fdcdd9738666cfef219d30d0e..b5230a20baf5f3c6aea60bb295ab3e398307fb76 100644 (file)
@@ -5,12 +5,12 @@ $mainmod = SUPER
 
 # mainmod shortcuts
 # ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
-bind = $mainmod, Return, exec, footclient
+bind = $mainmod, Return, exec, foot
 bind = $mainmod Shift, Q, killactive,
-bind = $mainmod Shift, Return, exec, footclient -w 1280x800 -a popup
-bind = $mainmod, P, exec, footclient -w 640x400 -a popup -H hyprpicker #color Pipette
+bind = $mainmod Shift, Return, exec, foot -w 1280x800 -a popup
+bind = $mainmod, P, exec, foot -w 640x400 -a popup -H hyprpicker #color Pipette
 bind = $mainmod, D, exec, dolphin
-bind = $mainmod, E, exec, footclient -a lf lfrun
+bind = $mainmod, E, exec, foot -a lf lfrun
 bind = $mainmod, F, fullscreen,1
 bind = $mainmod Shift, F, fullscreen,0
 bind = $mainmod Shift, V, exec, killall fuzzel || cliphist list | fuzzel -d --config="$HOME"/.config/fuzzel/fuzzel-centered.ini | cliphist decode | wl-copy
@@ -94,6 +94,16 @@ bind = $mainmod SHIFT CTRL, L, movewindoworgroup, r
 bind = $mainmod SHIFT CTRL, K, movewindoworgroup, u
 bind = $mainmod SHIFT CTRL, J, movewindoworgroup, d
 
+# move without affecting groups
+bind = $mainmod ALT, left, layoutmsg, preselect l
+bind = $mainmod ALT, right, layoutmsg, preselect r
+bind = $mainmod ALT, up, layoutmsg, preselect u
+bind = $mainmod ALT, down, layoutmsg, preselect d
+bind = $mainmod ALT, H, layoutmsg, preselect l
+bind = $mainmod ALT, L, layoutmsg, preselect r
+bind = $mainmod ALT, K, layoutmsg, preselect u
+bind = $mainmod ALT, J, layoutmsg, preselect d
+
 # move through group windows
 bind = $mainmod, O, changegroupactive, f
 bind = $mainmod, U, changegroupactive, b
index b94188c77df25c5f4b00f891613ac36a781ef682..6f33ef11726de2a7b6afdd6dbf13eeeb70b04c5f 100644 (file)
@@ -26,6 +26,8 @@ windowrulev2 = plugin:hyprbars:nobar, ^floating:0
 windowrule = float, ^(org.kde.*)$
 windowrule = float, ^(kdesystemsettings.*)$
 windowrulev2 = minsize 1 1, stayfocused, float, class: ^(com.nextcloud.desktopclient.nextcloud)$
+windowrulev2 = stayfocused, class: ^(com.nextcloud.desktopclient.nextcloud)$
+windowrulev2 = float, class: ^(com.nextcloud.desktopclient.nextcloud)$
 windowrulev2 = float, size 1560 1000, pin, workspace special:overlay, class:^(org.keepassxc.KeePassXC)$
 windowrule = float, ^(ark.*)$
 windowrule = float, ^(lxqt-.*)$
@@ -38,7 +40,7 @@ windowrulev2 = float, title:^((Über|About).*)$
 windowrulev2 = stayfocused, title:^((Über|About).*)$
 
 # handle browsers
-windowrulev2 = float, class:^(firefox.*)$
+windowrulev2 = float, class:^(firefox.*)$
 windowrulev2 = tag +neverdim, class:^(firefox.*)$
 windowrulev2 = maxsize 2543 1389 lock, class:^(org.qutebrowser.*)$
 windowrulev2 = minsize 1920 1200 lock, class:^(org.qutebrowser.*)$
index 5f9c8a5801b41aac4a734f8895b35be95a998360..814a8dd58c0f17cbfea9580563865ce446b15df9 100644 (file)
@@ -1,9 +1,12 @@
 # workspace rules
-workspace = 1, on-created-empty: ~/.config/hypr/scripts/checknetandbrowse
-workspace = 2, gapsout:80
-workspace = 2, gapsin:4
-workspace = 2, layoutopt:orientation:left
-workspace = 2, mfact = .50
-workspace = 4, on-created-empty:footclient -a ncmpcpp ncmpcpp
-workspace = 4, gapsout:80
-
+# workspace = 1, monitor:DP-1, default:true, on-created-empty: ~/.config/hypr/scripts/checknetandbrowse
+workspace = 1, monitor:DP-1, default:true
+workspace = 2, monitor:DP-2
+workspace = 3, monitor:DP-1
+workspace = 4, monitor:DP-2
+workspace = 5, monitor:DP-1
+workspace = 6, monitor:DP-2
+workspace = 7, monitor:DP-1
+workspace = 8, monitor:DP-2
+workspace = 9, monitor:DP-1
+workspace = 0, monitor:DP-2
index a460cb71c30c5df36ee49ab6a07696e5c8373d0a..e922f12bbd5eb67a74b8298a8714d41b0b324e64 100644 (file)
@@ -1,4 +1,4 @@
-# kak: filetype=sh
+# kak: filetype=ini
 # ░█░█░█░█░█▀█░█▀▄░█░░░█▀█░█▀█░█▀▄░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
 # ░█▀█░░█░░█▀▀░█▀▄░█░░░█▀█░█░█░█░█░░░█░░░█░█░█░█░█▀▀░░█░░█░█
 # ░▀░▀░░▀░░▀░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀░░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀i
@@ -10,8 +10,8 @@ source=./base16-colors.conf
 debug:disable_logs = true # file logging. defaults to 1 for production
 
 # See https://wiki.hyprland.org/Configuring/Monitors/
-# monitor=DP-2,preferred,auto,1.25,vrr,2,bitdepth,8
-monitor=DP-2,preferred,auto,1.0,vrr,2,bitdepth,8
+monitor=DP-1,preferred,0x0,1,vrr,2
+monitor=DP-2,preferred,auto-right,1,vrr,2
 
 # unscale XWayland
 xwayland {
@@ -53,11 +53,9 @@ env = XCURSOR_SIZE,40
 
 # Execute your favorite apps at launch
 exec-once = ~/.config/hypr/scripts/startup.sh
-# exec-once = hypridle
-exec-once = foot -s
+exec-once = hypridle
 exec-once = hyprpm enable hyprbars
 exec-shutdown = pkill -f '/usr/lib/python-exec/python3.12/python /home/andy/.config/hypr/scripts/gammarelay-auto-temp.py'
-# exec = python ~/.config/hypr/scripts/macos_like_accel.py razer-razer-basilisk-v3
 
 # Source a file (multi-file configs)
 # source = ~/.config/hypr/myColors.conf
@@ -98,24 +96,31 @@ general {
 
     # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
     allow_tearing = true
+
+    snap {
+       enabled = true
+       window_gap = 10
+       monitor_gap = 0
+       border_overlap = 0
+    }
 }
 
 dwindle {
     force_split = 2
     smart_split = false
-    split_width_multiplier = 1.0
+    split_width_multiplier = 2.0
 }
 
 master {
     # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
     new_status = slave
-       always_center_master = true
     allow_small_split = true
     special_scale_factor = .80
     mfact = .45
     orientation = center
+       # slave_count_for_center_master = 0
     inherit_fullscreen = false
-    always_center_master = false
+       # center_master_slaves_on_right = false
 }
 
 decoration {
@@ -127,19 +132,22 @@ decoration {
        # screen_shader = ~/.config/hypr/shaders/bluefilter.frag
     blur {
         enabled = true
-        size = 3
-        passes = 2
+        size = 8
+        passes = 1
+               noise = 0.0117
+               brightness = 0.8172
+               contrast = 0.8916
         vibrancy = 0.1696
                ignore_opacity = true
     }
     shadow {
         enabled = true
         range = 8
-        render_power = 1
+        render_power = 2
         sharp = false
         ignore_window = true
-        color = 0x77$base0C
-        color_inactive = 0xee$base00
+        color = 0xcc$base00
+        color_inactive = 0x99$base00
         offset = 0, 0
         scale = 1.00
     }
@@ -182,20 +190,24 @@ group {
        # col.border_locked_inactive = 0x44775500
        merge_groups_on_drag = 0
        insert_after_current = 0
-       col.border_active = 0xEE$base0A
-       col.border_inactive = 0xEE$base04
-       col.border_locked_active = 0xEE$base08
-       col.border_locked_inactive = 0xEE$base0A
+       col.border_locked_active = 0xEE$base0A
+       col.border_locked_inactive = 0xEE$base04
+       col.border_active = 0xEE$base08
+       col.border_inactive = 0xEE$base02
     groupbar {
-       enabled = 0
-       height = 22
+       enabled = 1
+       height = 20
+               priority = 3
         font_family = ZedMono NFP
-        font_size = 12
-       text_color = 0xff$base00
-       gradients = false
-       scrolling = false
-       col.active = 0xff$base0D
-       col.inactive = 0xff$base04
+        font_size = 13
+       text_color = 0xff$base00
+       stacked = false
+       gradients = true
+       scrolling = false
+       col.locked_active = 0xEE$base0A
+       col.locked_inactive = 0xEE$base0F
+       col.active = 0xEE$base08
+       col.inactive = 0xEE$base02
     }
 }
 
index b7718dcc9780fbd48c3f796a0c5ab09f703137a9..40dfdeed6798864d817b2d479d44d76bb33fee31 100755 (executable)
@@ -67,7 +67,7 @@ pidof corectrl && pkill corectrl || corectrl --minimize-systray > /dev/null 2>&1
 ! pidof swww-daemon && nohup /usr/bin/swww-daemon > /dev/null 2>&1
 sleep 0.5 && ~/.local/bin/rndwallpaper swww
 
-pidof wl-paste && pkill wl-paste
+pidof wl-paste && pkill wl-paste || true
 wl-paste --type text --watch cliphist store &
 wl-paste --type image --watch cliphist store &