From 3a23b4d1d963e143de8b4ca900290bed889ef8b8 Mon Sep 17 00:00:00 2001 From: agryphus Date: Wed, 24 Jun 2026 19:14:20 -0400 Subject: [PATCH] chore: update config --- misc/.config/hypr/hyprland.conf | 100 +++++++++++++++----------------- 1 file changed, 48 insertions(+), 52 deletions(-) diff --git a/misc/.config/hypr/hyprland.conf b/misc/.config/hypr/hyprland.conf index 467a3f9..b772382 100644 --- a/misc/.config/hypr/hyprland.conf +++ b/misc/.config/hypr/hyprland.conf @@ -5,13 +5,10 @@ env = HYPRCURSOR_THEME,McMojave env = HYPRCURSOR_SIZE,30 env = TERMINAL,st env = QT_QPA_PLATFORM,wayland +env = __GL_THREADED_OPTIMIZATIONS,0 -opengl { - nvidia_anti_flicker = false -} - -cursor { - no_hardware_cursors = true +ecosystem { + no_update_news = true } # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ @@ -30,14 +27,13 @@ input { touchpad { natural_scroll = yes + disable_while_typing = false } repeat_delay = 300 repeat_rate = 50 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. - - # kb_options = caps:swapescape } general { @@ -58,6 +54,17 @@ general { allow_tearing = false } +group { + groupbar { + font_family = "FiraCode" + font_size = 11 + col.active = rgba(444444ff) + col.inactive = rgba(000000ff) + height = 15 + gradients = true + } +} + blurls = waybar decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more @@ -65,7 +72,7 @@ decoration { rounding = 10 blur { - enabled = true + enabled = false size = 3 passes = 2 } @@ -94,8 +101,7 @@ animations { dwindle { # See https://wiki.hyprland.org/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 + preserve_split = yes } master { @@ -106,49 +112,27 @@ master { } # Replicate old "smart gaps"/"no gaps when only" option -workspace = w[tv1], gapsout:0, gapsin:0 -workspace = f[1], gapsout:0, gapsin:0 -windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] -windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] -windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] -windowrulev2 = rounding 0, floating:0, onworkspace:f[1] -windowrulev2 = float, class:nm-tray - -gestures { - # See https://wiki.hyprland.org/Configuring/Variables/ for more - workspace_swipe = off -} +workspace = w[tv1], gapsout:0, gapsin:0, rounding:0, bordersize:0 +workspace = f[1], gapsout:0, gapsin:0, rounding:0, bordersize:0 misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers - # enable_swallow = true - # swallow_regex = ^(st-256color)$ mouse_move_enables_dpms = true } -# Window rules -windowrule = tile,title:^(VRChat)$ -windowrule = tile,title:^(nsxiv)$ - -# windowrulev2 = suppressevent maximize, class:.* # Some windows try to maximize themselves instantly -# windowrulev2 = suppressevent fullscreen, class:.* -windowrulev2 = pin,title:^(dragon)$ - -# When hiding waybar, fixes the blur layer still being present -layerrule = ignorezero, waybar - $mainMod = SUPER # Program spawning hotkeys -bind = CONTROL ALT, BACKSPACE, exec, st -e zsh -c 'btop' -bind = $mainMod CONTROL, W, exec, [floating] foot -W 78x38 -e nmtui +bind = CONTROL ALT, BACKSPACE, exec, st -t 'btop' -e zsh -c 'btop' +bind = $mainMod CONTROL, W, exec, [float] foot -W 78x38 -e nmtui bind = $mainMod, RETURN, exec, st -bind = $mainMod, W, exec, zen -bind = $mainMod, E, exec, st -e zsh -c 'tmp="$(mktemp -t "yazi-cwd.XXXXX")"; yazi "$@" --cwd-file="$tmp"; printf "\033]0;st\007"; if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then; cd -- "$cwd"; fi; rm -f -- "$tmp"; exec $SHELL' +bind = $mainMod SHIFT, RETURN, exec, st -e zsh -c "nvim -c ':term' -c 'startinsert'" +bind = $mainMod, W, exec, zen-beta +bind = $mainMod, E, exec, st -t "Yazi" -e zsh -c 'tmp="$(mktemp -t "yazi-cwd.XXXXX")"; yazi "$@" --cwd-file="$tmp"; printf "\033]0;st\007"; if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then; cd -- "$cwd"; fi; rm -f -- "$tmp"; exec $SHELL' bind = $mainMod SHIFT, E, exec, emacsclient -c -a 'emacs' bind = $mainMod, C, exec, st -e zsh -c 'khal interactive' -bind = $mainMod, M, exec, st -e zsh -c 'neomutt' +bind = $mainMod, M, exec, evolution # Menu hoykeys bind = $mainMod, R, exec, fuzzel @@ -176,24 +160,27 @@ bind = $mainMod, D, exec, hyprctl dispatch submap menu-submap; sleep 2; hyprctl submap = menu-submap bind = ,A, exec, menu-accent bind = ,A, submap, reset -bind = ,B, exec, [floating] foot -W 80x17 -e dash -c -i 'menu-bookmark' +bind = ,B, exec, [float] foot -W 80x17 -e dash -c -i 'menu-bookmark' bind = ,B, submap, reset -bind = ,M, exec, [floating] foot -W 78x38 -e dash -c -i 'menu-man' +bind = ,M, exec, [float] foot -W 78x38 -e dash -c -i 'menu-man' bind = ,M, submap, reset +bind = ,N, exec, [float] foot -W 50x10 -e dash -c -i 'menu-project' +bind = ,N, submap, reset bind = ,W, exec, networkmanager_dmenu bind = ,W, submap, reset bind = ,O, exec, menu-wpio sink bind = ,O, submap, reset bind = ,I, exec, menu-wpio source bind = ,I, submap, reset -bind = ,L, exec, hyprmonitors menu -bind = ,L, submap, reset -bind = ,P, exec, [floating] foot -W 80x17 -e zsh -c -i 'menu-pass' +# bind = ,L, exec, hyprmonitors menu +# bind = ,L, submap, reset +bind = ,P, exec, [float] foot -W 80x17 -e zsh -c -i 'menu-pass' bind = ,P, submap, reset submap = reset -# Hide waybar -bind = $mainMod, B, exec, pkill -SIGUSR1 waybar +# Hide top bar +# bind = $mainMod, B, exec, pkill -SIGUSR1 waybar +bind = $mainMod, B, exec, qs ipc call bar toggleVis # Kill commands bind = $mainMod CONTROL SHIFT, Q, exit, @@ -210,8 +197,8 @@ bind = $mainMod, J, layoutmsg, cyclenext bind = $mainMod SHIFT, J, layoutmsg, swapnext bind = $mainMod, K, layoutmsg, cycleprev bind = $mainMod SHIFT, K, layoutmsg, swapprev -bind = $mainMod SHIFT, L, splitratio, +0.05 -bind = $mainMod SHIFT, H, splitratio, -0.05 +bind = $mainMod SHIFT, L, layoutmsg, mfact +0.05 +bind = $mainMod SHIFT, H, layoutmsg, mfact -0.05 # Changing number of masters bind = $mainMod, O, layoutmsg, addmaster @@ -223,11 +210,16 @@ bind = $mainMod SHIFT, T, layoutmsg, orientationtop # Special windows bind = $mainMod, F, togglefloating, -bind = $mainMod, F, resizeactive, exact 50% 50% -bind = $mainMod SHIFT, F, fullscreenstate, 0, 2 +bind = $mainMod, F, resizeactive, exact 960 540 +bind = $mainMod SHIFT, F, fullscreen +bind = $mainMod CONTROL SHIFT, F, fullscreenstate, 0, 2 bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic +# Groups +bind = $mainMod, G, togglegroup +bind = $mainMod, tab, changegroupactive + # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, exec, hyprdwm goto 1 bind = $mainMod, 2, exec, hyprdwm goto 2 @@ -279,5 +271,9 @@ bind = $mainMod, mouse_up, workspace, e-1 bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow +exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" # for GTK3 apps +exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps +exec-once = gsettings set com.usebottles.bottles dark-theme true + exec-once = startw