diff options
Diffstat (limited to 'hypr')
| -rw-r--r-- | hypr/hyprland.conf | 255 | ||||
| -rw-r--r-- | hypr/hyprpaper.conf | 46 | ||||
| -rw-r--r-- | hypr/hyprscratch.conf | 16 | ||||
| -rw-r--r-- | hypr/pyprland.toml | 5 |
4 files changed, 168 insertions, 154 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index de47dab..b7b58c4 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -16,13 +16,14 @@ monitor = , preferred, auto, 1 #{{{ Autostart # Execute your favorite apps at launch # exec-once = waybar & hyprpaper & firefox +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = hyprpm reload -n exec-once = xdph exec-once = hyprpaper #exec-once = hypridle exec-once = waybar exec-once = pypr -exec-once = hyprscratch init +#exec-once = hyprscratch init exec-once = lxqt-policykit-agent exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest' exec-once = import-gsettings icon-theme 'Papirus-Dark' @@ -30,8 +31,8 @@ exec-once = import-gsettings cursor-theme 'BreezeX-Black' exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources exec-once = com.github.wwmm.easyeffects -exec-once = systemctl --user start dunst -exec-once = systemctl --user start hypridle +exec-once = systemctl --user restart dunst +exec-once = systemctl --user restart hypridle exec-once = xwayland-satellite :1 exec-once = bl-save #exec-once = mpd @@ -187,6 +188,18 @@ master { } #}}} +#{{{ Scrolling layout options +scrolling { + fullscreen_on_one_column = false + column_width = 0.5 + focus_fit_method = 1 + follow_focus = true + follow_min_visible = 0.4 + explicit_column_widths = 0.333, 0.5, 0.667, 1.0 + direction = right +} +#}}} + #{{{ Gestures options gestures { # See https://wiki.hypr.land/Configuring/Variables/ for more @@ -196,18 +209,18 @@ gestures { #{{{ plugin options plugin { - hyprsplit { - num_workspaces = 9 - persistent_workspaces = true - } - - hyprscrolling { - fullscreen_on_one_column = true - column_width = 0.5 - explicit_column_widths = 0.25, 0.333, 0.5, 0.667, 0.75, 1.0 - focus_fit_method = 1 - follow_focus = true - } + #hyprsplit { + # num_workspaces = 9 + # persistent_workspaces = true + #} + + #hyprscrolling { + # fullscreen_on_one_column = false + # column_width = 0.5 + # explicit_column_widths = 0.25, 0.333, 0.5, 0.667, 0.75, 1.0 + # focus_fit_method = 1 + # follow_focus = true + #} } #}}} @@ -235,26 +248,26 @@ windowrule = tile on, match:class ^(REAPER)$, match:title ^(.*REAPER v[0-9.]* - windowrule = tile on, match:class ^(WebApp-Qobuz[0-9]*)$ windowrule = float on, match:title ^(menu)$ windowrule = move cursor -50% -50%, match:class ^(yabridge-host.exe.so)$, match:title ^(menu)$ -windowrulev2 = workspace special:easyeffects silent, match:class ^(com\.github\.wwmm\.easyeffects)$ +windowrule = workspace special:easyeffects silent, match:class ^(com\.github\.wwmm\.easyeffects)$ # Fix brave xray menus -windowrulev2 = xray 0, match:class ^(\s*), match:title ^(\s*)$ +windowrule = xray 0, match:class ^(\s*), match:title ^(\s*)$ # Center floating XWayland windows windowrule = center on, match:xwayland on, match:class negative:^(steam|REAPER)$ # Make Steam Big Picture Mode fullscreen windowrule = fullscreen on, match:class ^(steam)$, match:title ^(Steam Big Picture Mode)$ # Fix scratchpad window spawn behavior -windowrule = workspace +0, match:workspace name:sphtop, match:class negative:sphtop -windowrule = workspace +0, match:workspace name:spterm, match:class negative:spterm -windowrule = workspace +0, match:workspace name:sppmxr, match:class negative:sppmxr -windowrule = workspace +0, match:workspace name:spblue, match:class negative:spblue -windowrule = workspace +0, match:workspace name:spncmp, match:class negative:spncmp -windowrule = workspace +0, match:workspace name:spmutt, match:class negative:spmutt -windowrule = workspace +0, match:workspace name:spprof, match:class negative:spprof -windowrule = workspace +0, match:workspace name:spirss, match:class negative:spirss -windowrule = workspace +0, match:workspace name:spvimw, match:class negative:spvimw -windowrule = workspace +0, match:workspace name:sptrmc, match:class negative:sptrmc -windowrule = workspace +0, match:workspace name:helvum, match:class negative:helvum -windowrule = workspace +0, match:workspace name:easyeffects, match:class negative:easyeffects +windowrule = workspace +0, match:workspace name:sphtop, match:title negative:sphtop +windowrule = workspace +0, match:workspace name:spterm, match:title negative:spterm +windowrule = workspace +0, match:workspace name:sppmxr, match:title negative:sppmxr +windowrule = workspace +0, match:workspace name:spblue, match:title negative:spblue +windowrule = workspace +0, match:workspace name:spncmp, match:title negative:spncmp +windowrule = workspace +0, match:workspace name:spmutt, match:title negative:spmutt +windowrule = workspace +0, match:workspace name:spprof, match:title negative:spprof +windowrule = workspace +0, match:workspace name:spirss, match:title negative:spirss +windowrule = workspace +0, match:workspace name:spvimw, match:title negative:spvimw +windowrule = workspace +0, match:workspace name:sptrmc, match:title negative:sptrmc +windowrule = workspace +0, match:workspace name:helvum, match:title negative:helvum +windowrule = workspace +0, match:workspace name:easyfx, match:title negative:easyfx #}}} #{{{ Layerrules @@ -287,20 +300,20 @@ $secdMod = ALT #bind = $mainMod, O, splitratio, exact 0.69 #MASTER #}}} -#{{{ hyprscrolling layout binds -# hyprscrolling layout binds -bind = $mainMod+SHIFT, H, layoutmsg, movewindowto l #HYPRSCROLLING -bind = $mainMod+SHIFT, J, layoutmsg, movewindowto d #HYPRSCROLLING -bind = $mainMod+SHIFT, K, layoutmsg, movewindowto u #HYPRSCROLLING -bind = $mainMod+SHIFT, L, layoutmsg, movewindowto r #HYPRSCROLLING -bind = $mainMod+CONTROL, H, layoutmsg, swapcol l -bind = $mainMod+CONTROL, L, layoutmsg, swapcol r -bind = $mainMod, H, layoutmsg, focus l #HYPRSCROLLING -bind = $mainMod, J, layoutmsg, focus d #HYPRSCROLLING -bind = $mainMod, K, layoutmsg, focus u #HYPRSCROLLING -bind = $mainMod, L, layoutmsg, focus r #HYPRSCROLLING -bind = $mainMod+SHIFT, R, layoutmsg, colresize +conf #HYPRSCROLLING -bind = $mainMod+SHIFT, Return, layoutmsg, promote #HYPRSCROLLING +#{{{ scrolling layout binds +# scrolling layout binds +bind = $mainMod+SHIFT, H, layoutmsg, movewindowto l #SCROLLING +bind = $mainMod+SHIFT, J, layoutmsg, movewindowto d #SCROLLING +bind = $mainMod+SHIFT, K, layoutmsg, movewindowto u #SCROLLING +bind = $mainMod+SHIFT, L, layoutmsg, movewindowto r #SCROLLING +bind = $mainMod+CONTROL, H, layoutmsg, swapcol l #SCROLLING +bind = $mainMod+CONTROL, L, layoutmsg, swapcol r #SCROLLING +bind = $mainMod, H, layoutmsg, focus l #SCROLLING +bind = $mainMod, J, layoutmsg, focus d #SCROLLING +bind = $mainMod, K, layoutmsg, focus u #SCROLLING +bind = $mainMod, L, layoutmsg, focus r #SCROLLING +bind = $mainMod+SHIFT, R, layoutmsg, colresize +conf #SCROLLING +bind = $mainMod+SHIFT, Return, layoutmsg, promote #SCROLLING #}}} #{{{ tab binds @@ -336,80 +349,80 @@ bind = $mainMod SHIFT, N, togglespecialworkspace, minimized #}}} #{{{ Workspace binds (using hyprsplit 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, G, split:grabroguewindows -bind = $mainMod, comma, focusmonitor, -1 -bind = $mainMod, period, focusmonitor, +1 -bind = $mainMod SHIFT, comma, movewindow, mon:-1 -bind = $mainMod SHIFT, period, movewindow, mon:+1 -#}}} - -#{{{ Workspace binds (not using hyprsplit plugin) ## Switch workspaces with mainMod + [0-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 +#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, 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 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, G, split:grabroguewindows #bind = $mainMod, comma, focusmonitor, -1 #bind = $mainMod, period, focusmonitor, +1 #bind = $mainMod SHIFT, comma, movewindow, mon:-1 #bind = $mainMod SHIFT, period, movewindow, mon:+1 #}}} +#{{{ Workspace binds (not using hyprsplit plugin) +# Switch workspaces with mainMod + [0-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, 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, comma, focusmonitor, -1 +bind = $mainMod, period, focusmonitor, +1 +bind = $mainMod SHIFT, comma, movewindow, mon:-1 +bind = $mainMod SHIFT, period, movewindow, mon:+1 +#}}} + #{{{ Mouse binds # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow @@ -456,18 +469,18 @@ bind = $mainMod Control, M, exec, volsv -m #}}} #{{{ Scratchpads -bind = $mainMod CONTROL, Z, exec, hyprscratch toggle sphtop -bind = $mainMod CONTROL, X, exec, hyprscratch toggle spterm -bind = $mainMod CONTROL, C, exec, hyprscratch toggle sppmxr -bind = $mainMod CONTROL, V, exec, hyprscratch toggle spblue -bind = $mainMod CONTROL, B, exec, hyprscratch toggle spncmp -bind = $mainMod CONTROL, A, exec, hyprscratch toggle spmutt -bind = $mainMod CONTROL, S, exec, hyprscratch toggle spprof -bind = $mainMod CONTROL, D, exec, hyprscratch toggle spirss -bind = $mainMod CONTROL, F, exec, hyprscratch toggle spvimw -bind = $mainMod CONTROL, G, exec, hyprscratch toggle sptrmc -bind = $mainMod CONTROL, Q, exec, hyprscratch toggle helvum -bind = $mainMod CONTROL, E, exec, hyprscratch toggle easyeffects +bind = $mainMod CONTROL, Z, exec, pypr toggle sphtop +bind = $mainMod CONTROL, X, exec, pypr toggle spterm +bind = $mainMod CONTROL, C, exec, pypr toggle sppmxr +bind = $mainMod CONTROL, V, exec, pypr toggle spblue +bind = $mainMod CONTROL, B, exec, pypr toggle spncmp +bind = $mainMod CONTROL, A, exec, pypr toggle spmutt +bind = $mainMod CONTROL, S, exec, pypr toggle spprof +bind = $mainMod CONTROL, D, exec, pypr toggle spirss +bind = $mainMod CONTROL, F, exec, pypr toggle spvimw +bind = $mainMod CONTROL, G, exec, pypr toggle sptrmc +bind = $mainMod CONTROL, Q, exec, pypr toggle helvum +bind = $mainMod CONTROL, E, exec, pypr toggle easyfx #}}} #{{{ OBS bindings diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index 728c00c..a11d6b0 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,15 +1,33 @@ -preload = ~/Pictures/background.png -#if more than one preload is desired then continue to preload other backgrounds -#preload = /path/to/next_image.png -# .. more preloads - -#set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used -wallpaper = eDP-1,~/Pictures/background.png -wallpaper = HDMI-A-1,~/Pictures/background.png -wallpaper = HDMI-A-2,~/Pictures/background.png -wallpaper = DP-1,~/Pictures/background.png -wallpaper = DP-2,~/Pictures/background.png -#if more than one monitor in use, can load a 2nd image -#wallpaper = monitor2,~/background.png -# .. more monitors +wallpaper { + monitor = eDP-1 + path = ~/Pictures/background.png + fit_mode = cover +} + +wallpaper { + monitor = HDMI-A-1 + path = ~/Pictures/background.png + fit_mode = cover +} + +wallpaper { + monitor = HDMI-A-2 + path = ~/Pictures/background.png + fit_mode = cover +} + +wallpaper { + monitor = DP-1 + path = ~/Pictures/background.png + fit_mode = cover +} + +wallpaper { + monitor = DP-2 + path = ~/Pictures/background.png + fit_mode = cover +} + +# Misc Options splash = false +ipc = true diff --git a/hypr/hyprscratch.conf b/hypr/hyprscratch.conf index 5964419..fe3cda6 100644 --- a/hypr/hyprscratch.conf +++ b/hypr/hyprscratch.conf @@ -1,8 +1,8 @@ # Optional globals that apply to all scratchpads daemon_options = clean -daemon_options = eager +daemon_options = spotless -global_rules = size 50% 50% +global_options = special sphtop { # Mandatory fields @@ -11,7 +11,6 @@ sphtop { # Optional fields options = lazy - options = special } spterm { @@ -21,7 +20,6 @@ spterm { # Optional fields options = lazy - options = special } sppmxr { @@ -31,7 +29,6 @@ sppmxr { # Optional fields options = lazy - options = special } spblue { @@ -41,7 +38,6 @@ spblue { # Optional fields options = lazy - options = special } spncmp { @@ -51,7 +47,6 @@ spncmp { # Optional fields options = lazy - options = special } spmutt { @@ -61,7 +56,6 @@ spmutt { # Optional fields options = lazy - options = special } spprof { @@ -71,7 +65,6 @@ spprof { # Optional fields options = lazy - options = special } spirss { @@ -81,7 +74,6 @@ spirss { # Optional fields options = lazy - options = special } spvimw { @@ -91,7 +83,6 @@ spvimw { # Optional fields options = lazy - options = special } sptrmc { @@ -101,7 +92,6 @@ sptrmc { # Optional fields options = lazy - options = special } helvum { @@ -111,7 +101,6 @@ helvum { # Optional fields options = lazy - options = special } easyeffects { @@ -121,6 +110,5 @@ easyeffects { # Optional fields options = lazy - options = special } diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml deleted file mode 100644 index cacd7f1..0000000 --- a/hypr/pyprland.toml +++ /dev/null @@ -1,5 +0,0 @@ -[pyprland] -plugins = [ - "toggle_special", - "expose" -] |
