diff options
Diffstat (limited to 'hypr')
-rw-r--r-- | hypr/hyprland.conf | 85 | ||||
-rw-r--r-- | hypr/hyprlock.conf | 2 | ||||
-rw-r--r-- | hypr/hyprscratch.conf | 7 |
3 files changed, 55 insertions, 39 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 90cc7b1..3d63bdd 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1,9 +1,17 @@ -# See https://wiki.hyprland.org/Configuring/Monitors/ +# See https://wiki.hypr.land/Configuring/Monitors/ #{{{ Monitor config +#monitor = DP-2, 1920x1080@75, 0x0, 1 +#monitor = HDMI-A-1, 1920x1080@75, 1920x0, 1 +#monitor = eDP-1, 1920x1080@60, 0x0, 1 monitor = , preferred, auto, 1 #}}} -# See https://wiki.hyprland.org/Configuring/Keywords/ for more +# See https://wiki.hypr.land/Configuring/Keywords/ for more + +#{{{ Plugins +plugin = /var/cache/hyprpm/zachir/hyprland-plugins/hyprscrolling.so +plugin = /var/cache/hyprpm/zachir/hyprsplit/hyprsplit.so +#}}} #{{{ Autostart # Execute your favorite apps at launch @@ -16,14 +24,15 @@ exec-once = waybar exec-once = pypr exec-once = hyprscratch init exec-once = lxqt-policykit-agent -exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest-Solid' -exec-once = import-gsettings icon-theme 'COSMIC' +exec-once = import-gsettings gtk-theme 'Flat-Remix-GTK-Green-Darkest' +exec-once = import-gsettings icon-theme 'Papirus-Dark' 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 = xwayland-satellite :1 #exec-once = mpd #}}} @@ -33,6 +42,7 @@ env = HYPRCURSOR_THEME,theme_BreezeX-Black env = HYPRCURSOR_SIZE,32 env = XCURSOR_THEME,BreezeX-Black env = XCURSOR_SIZE,32 +env = DISPLAY=:1 #}}} # Source a file (multi-file configs) @@ -55,7 +65,7 @@ device { # }}} #{{{ Input options -# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ +# For all categories, see https://wiki.hypr.land/Configuring/Variables/ input { kb_layout = us kb_variant = @@ -82,7 +92,7 @@ input { #{{{ General options general { - # See https://wiki.hyprland.org/Configuring/Variables/ for more + # See https://wiki.hypr.land/Configuring/Variables/ for more gaps_in = 5 gaps_out = 20 border_size = 2 @@ -106,7 +116,7 @@ misc { disable_splash_rendering = true enable_swallow = true swallow_regex = ^(kitty)$ - swallow_exception_regex = ^(wev|.*ueberzug|n?vi?m? .*)$ + swallow_exception_regex = ^(wev|.*ueberzug|n?vi?m? .*|.*dragon.*)$ vfr = true vrr = 3 } @@ -114,7 +124,7 @@ misc { #{{{ Decoration options decoration { - # See https://wiki.hyprland.org/Configuring/Variables/ for more + # See https://wiki.hypr.land/Configuring/Variables/ for more rounding = 10 #{{{ Blur options blur { @@ -140,7 +150,7 @@ decoration { #{{{ Animations options animations { enabled = no - # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + # Some default animations, see https://wiki.hypr.land/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% @@ -153,7 +163,7 @@ animations { #{{{ Dwindle layout options dwindle { - # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more + # See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this special_scale_factor = 0.55 @@ -164,7 +174,7 @@ dwindle { master { special_scale_factor = 0.55 mfact = 0.55 - # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + # See https://wiki.hypr.land/Configuring/Master-Layout/ for more new_status = slave new_on_top = false new_on_active = before @@ -175,20 +185,10 @@ 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 - workspace_swipe = off + # See https://wiki.hypr.land/Configuring/Variables/ for more + #workspace_swipe = off } #}}} @@ -198,6 +198,14 @@ plugin { 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 + } } #}}} @@ -206,11 +214,20 @@ plugin { # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrule = float, class:^(kitty)$, title:^(kitty)$ -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# See https://wiki.hypr.land/Configuring/Window-Rules/ for more +windowrulev2 = workspace special:easyeffects silent, class: ^(com\.github\.wwmm\.easyeffects)$ +# Fix brave xray menus +windowrulev2 = xray 0, class: ^(\s*), title: ^(\s*)$ +# Center floating XWayland windows +windowrule = center, xwayland: 1 +#}}} + +#{{{ Layerrules +layerrule = blur, waybar #}}} #{{{ Mods -# See https://wiki.hyprland.org/Configuring/Keywords/ for more +# See https://wiki.hypr.land/Configuring/Keywords/ for more $mainMod = SUPER $secdMod = ALT #}}} @@ -237,14 +254,12 @@ $secdMod = ALT #{{{ hyprscrolling layout binds # 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+SHIFT, L, movewindow, r #HYPRSCROLLING -bind = $mainMod+SHIFT, K, movewindow, u #HYPRSCROLLING -bind = $mainMod+SHIFT, J, movewindow, d #HYPRSCROLLING +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 @@ -383,7 +398,7 @@ bind = $mainMod, D, exec, sh -c "$(tofi-run -c $HOME/.config/tofi/themes/dmenu_v bind = $mainMod, R, exec, rs bind = $mainMod $secdMod, Q, exec, qbc bind = $mainMod $secdMod, W, exec, lwc -bind = $mainMod $secdMod, E, exec, mbc +bind = $mainMod $secdMod, E, exec, brc bind = $mainMod $secdMod, R, exec, ffc bind = $mainMod $secdMod, 1, exec, bm bind = $mainMod $secdMod, comma, exec, dmount -p @@ -414,7 +429,7 @@ 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 sptodo +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 diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index 2ec72d3..8ee636d 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -41,7 +41,7 @@ input-field { check_color = rgb(204, 136, 34) fail_color = rgb(204, 34, 34) # if authentication failed, changes outer_color and fail message color fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i> # can be set to empty - fail_transition = 300 # transition time in ms between normal outer_color and fail_color + #fail_transition = 300 # transition time in ms between normal outer_color and fail_color capslock_color = -1 numlock_color = -1 bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above) diff --git a/hypr/hyprscratch.conf b/hypr/hyprscratch.conf index 4274dcd..5964419 100644 --- a/hypr/hyprscratch.conf +++ b/hypr/hyprscratch.conf @@ -1,5 +1,6 @@ # Optional globals that apply to all scratchpads daemon_options = clean +daemon_options = eager global_rules = size 50% 50% @@ -83,10 +84,10 @@ spirss { options = special } -sptodo { +spvimw { # Mandatory fields - title = sptodo - command = kitty -T sptodo todo + title = spvimw + command = kitty -T spvimw nvim +VimwikiIndex # Optional fields options = lazy |