diff options
author | zachir <zachir@librem.one> | 2024-03-24 02:12:38 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-24 02:12:38 -0500 |
commit | a379f780dbccbc5ba42a8a58145581d9a9441af2 (patch) | |
tree | 51377f91a46a649000cc83c155b1a4c5e497243b /hypr | |
parent | f4cb7fce51024dd9566bea3a7a76013d7b540a94 (diff) | |
parent | de752a009e8ac1df83c1631dac8bbf61a741d087 (diff) |
Merge branch 'master' of zachir.xyz:zachir/dotfiles into cascas-old
Diffstat (limited to 'hypr')
-rw-r--r-- | hypr/hyprland.conf | 154 | ||||
-rw-r--r-- | hypr/pyprland.toml | 24 |
2 files changed, 128 insertions, 50 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 13f405d..1c60913 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -30,6 +30,7 @@ input { numlock_by_default = true scroll_method = "2fg" follow_mouse = 1 + mouse_refocus = false touchpad { natural_scroll = no } @@ -56,9 +57,11 @@ general { #{{{ Misc options misc { disable_hyprland_logo = true + disable_splash_rendering = true enable_swallow = true swallow_regex = ^(kitty)$ vfr = false + vrr = true } #}}} @@ -113,7 +116,7 @@ master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = false new_on_top = true - no_gaps_when_only = true + no_gaps_when_only = false orientation = left inherit_fullscreen = true } @@ -126,20 +129,12 @@ gestures { } #}}} -#{{{ Device options -# Example per-device config -# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more -device:epic mouse V1 { - sensitivity = -0.5 -} -#}}} - #{{{ plugin options -plugin { - split-monitor-workspaces { - count = 9 - } -} +#plugin { +# split-monitor-workspaces { +# count = 9 +# } +#} #}}} #{{{ Windowrules @@ -156,6 +151,29 @@ windowrulev2 = float, class:^(yabridge-host.exe.so)$, title:^(menu)$ windowrulev2 = float,floating:0,title:^(menu*) windowrulev2 = forceinput,title:^(menu*) windowrulev2 = windowdance,title:^(menu*) +windowrule = float, class:^(xdg-desktop-portal-gtk) +windowrule = float, class:^(Tk)$ +windowrule = workspace 2, title:^(REAPER .*initializing.*)$ +windowrulev2 = stayfocused, title:^()$,class:^(steam)$ +windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$ +windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$ +windowrulev2 = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$ +windowrulev2 = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$ +windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$ +#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Metronome and pre-roll settings)$ +windowrulev2 = tile, class:^(WebApp-Qobuz[0-9]*)$ +#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$ +#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(\s*)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$ +#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$ +#windowrulev2 = float,floating:0, title:^(menu)$ +#windowrulev2 = forceinput, title:^(menu)$ +#windowrulev2 = windowdance, title:^(menu)$ +#windowrulev2 = nofocus, title:^(menu)$, class:^(yabridge\-host\.exe\.so)$ #}}} #{{{ Mods @@ -185,20 +203,20 @@ bind = $mainMod, O, splitratio, exact 0.69 #MASTER #}}} #{{{ Dwindle layout binds -## Dwindle layout binds +# Dwindle layout binds #bind = $mainMod, P, pseudo, #DWINDLE #bind = $mainMod $secdMod, S, togglesplit, #DWINDLE -## Move focus with mainMod + HJKL +# Move focus with mainMod + HJKL #bind = $mainMod, H, movefocus, l #DWINDLE #bind = $mainMod, L, movefocus, r #DWINDLE #bind = $mainMod, K, movefocus, u #DWINDLE #bind = $mainMod, J, movefocus, d #DWINDLE -## Move window with mainMod + HJKL +# Move window with mainMod + HJKL #bind = $mainMod SHIFT, L, movewindow, r #DWINDLE #bind = $mainMod SHIFT, H, movewindow, l #DWINDLE #bind = $mainMod SHIFT, J, movewindow, d #DWINDLE #bind = $mainMod SHIFT, K, movewindow, u #DWINDLE -## Resize clients with mainMod + secdMod + HJKL +# Resize clients with mainMod + secdMod + HJKL #binde = $mainMod $secdMod, L, resizeactive, 10 0 #DWINDLE #binde = $mainMod $secdMod, H, resizeactive, -10 0 #DWINDLE #binde = $mainMod $secdMod, K, resizeactive, 0 -10 #DWINDLE @@ -227,40 +245,76 @@ bind = $mainMod, N, exec, pypr toggle_special bind = $mainMod SHIFT, N, togglespecialworkspace, minimized #}}} -#{{{ Workspace binds (implied using split-monitor-workspaces plugin!) +#{{{ Workspace binds (using split-monitor-workspaces plugin!) +# Switch workspaces with mainMod + [0-9] +#bind = $mainMod, 1, split-workspace, 1 +#bind = $mainMod, 2, split-workspace, 2 +#bind = $mainMod, 3, split-workspace, 3 +#bind = $mainMod, 4, split-workspace, 4 +#bind = $mainMod, 5, split-workspace, 5 +#bind = $mainMod, 6, split-workspace, 6 +#bind = $mainMod, 7, split-workspace, 7 +#bind = $mainMod, 8, split-workspace, 8 +#bind = $mainMod, 9, split-workspace, 9 +# Move active window to a workspace with mainMod + SHIFT + [0-9] +#bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1 +#bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2 +#bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3 +#bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4 +#bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5 +#bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6 +#bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7 +#bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8 +#bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9 +#bind = $mainMod CONTROL SHIFT, 1, split-movetoworkspace, 1 +#bind = $mainMod CONTROL SHIFT, 2, split-movetoworkspace, 2 +#bind = $mainMod CONTROL SHIFT, 3, split-movetoworkspace, 3 +#bind = $mainMod CONTROL SHIFT, 4, split-movetoworkspace, 4 +#bind = $mainMod CONTROL SHIFT, 5, split-movetoworkspace, 5 +#bind = $mainMod CONTROL SHIFT, 6, split-movetoworkspace, 6 +#bind = $mainMod CONTROL SHIFT, 7, split-movetoworkspace, 7 +#bind = $mainMod CONTROL SHIFT, 8, split-movetoworkspace, 8 +#bind = $mainMod CONTROL SHIFT, 9, split-movetoworkspace, 9 +#bind = $mainMod, mouse_down, split-workspace, e+1 +#bind = $mainMod, mouse_up, split-workspace, e-1 +#bind = $mainMod, comma, split-changemonitor, +1 +#bind = $mainMod, period, split-changemonitor, -1 +#}}} + +#{{{ Workspace binds (not using split-monitor-workspaces plugin!) # Switch workspaces with mainMod + [0-9] -bind = $mainMod, 1, split-workspace, 1 -bind = $mainMod, 2, split-workspace, 2 -bind = $mainMod, 3, split-workspace, 3 -bind = $mainMod, 4, split-workspace, 4 -bind = $mainMod, 5, split-workspace, 5 -bind = $mainMod, 6, split-workspace, 6 -bind = $mainMod, 7, split-workspace, 7 -bind = $mainMod, 8, split-workspace, 8 -bind = $mainMod, 9, split-workspace, 9 +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 # Move active window to a workspace with mainMod + SHIFT + [0-9] -bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1 -bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2 -bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3 -bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4 -bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5 -bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6 -bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7 -bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8 -bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9 -bind = $mainMod CONTROL SHIFT, 1, split-movetoworkspace, 1 -bind = $mainMod CONTROL SHIFT, 2, split-movetoworkspace, 2 -bind = $mainMod CONTROL SHIFT, 3, split-movetoworkspace, 3 -bind = $mainMod CONTROL SHIFT, 4, split-movetoworkspace, 4 -bind = $mainMod CONTROL SHIFT, 5, split-movetoworkspace, 5 -bind = $mainMod CONTROL SHIFT, 6, split-movetoworkspace, 6 -bind = $mainMod CONTROL SHIFT, 7, split-movetoworkspace, 7 -bind = $mainMod CONTROL SHIFT, 8, split-movetoworkspace, 8 -bind = $mainMod CONTROL SHIFT, 9, split-movetoworkspace, 9 -bind = $mainMod, mouse_down, split-workspace, e+1 -bind = $mainMod, mouse_up, split-workspace, e-1 -bind = $mainMod, comma, split-changemonitor, +1 -bind = $mainMod, period, split-changemonitor, -1 +bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 +bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 +bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 +bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 +bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 +bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 +bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 +bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 +bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 +bind = $mainMod CONTROL SHIFT, 1, movetoworkspace, 1 +bind = $mainMod CONTROL SHIFT, 2, movetoworkspace, 2 +bind = $mainMod CONTROL SHIFT, 3, movetoworkspace, 3 +bind = $mainMod CONTROL SHIFT, 4, movetoworkspace, 4 +bind = $mainMod CONTROL SHIFT, 5, movetoworkspace, 5 +bind = $mainMod CONTROL SHIFT, 6, movetoworkspace, 6 +bind = $mainMod CONTROL SHIFT, 7, movetoworkspace, 7 +bind = $mainMod CONTROL SHIFT, 8, movetoworkspace, 8 +bind = $mainMod CONTROL SHIFT, 9, movetoworkspace, 9 +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 +#bind = $mainMod, comma, split-changemonitor, +1 +#bind = $mainMod, period, split-changemonitor, -1 #}}} #{{{ Mouse binds diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index f9775ab..dfa2aab 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -10,70 +10,94 @@ animation = "" command = "kitty --class sphtop htop" class = "sphtop" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spterm] animation = "" command = "kitty --class spterm" class = "spterm" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.sppmxr] animation = "" command = "kitty --class sppmxr pulsemixer" class = "sppmxr" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spblue] animation = "" command = "kitty --class spblue bluetoothctl" class = "spblue" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spncmp] animation = "" command = "kitty --class spncmp ncmpcpp" class = "spncmp" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spmutt] animation = "" command = "kitty --class spmutt neomutt" class = "spmutt" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spprof] animation = "" command = "kitty --class spprof profanity" class = "spprof" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spirss] animation = "" command = "kitty --class spirss irssi" class = "spirss" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.sptodo] animation = "" command = "kitty --class sptodo todo" class = "sptodo" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.sptrmc] animation = "" command = "kitty --class sptrmc tremc" class = "sptremc" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.qpwgraph] animation = "" command = "qpwgraph" class = "org.rncbc.qpwgraph" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.easyeffects] animation = "" command = "flatpak run com.github.wwmm.easyeffects" class = "com.github.wwmm.easyeffects" lazy = true +size = "50% 50%" +position = "25% 25%" unfocus = "hide" |