From bd102d6753243a78b9d8483ac62c1626e74e2766 Mon Sep 17 00:00:00 2001 From: aleidk Date: Fri, 22 Aug 2025 17:57:10 -0400 Subject: [PATCH] update hyprland config --- Configs/fish/.config/fish/fish_variables | 2 +- Configs/hypr/.config/hypr/hyprland.conf | 14 ++-- Configs/uwsm/.config/uwsm/env | 4 ++ Configs/vimiv/.config/vimiv/keys.conf | 87 ------------------------ 4 files changed, 12 insertions(+), 95 deletions(-) diff --git a/Configs/fish/.config/fish/fish_variables b/Configs/fish/.config/fish/fish_variables index 53cbe7a..2a3c309 100644 --- a/Configs/fish/.config/fish/fish_variables +++ b/Configs/fish/.config/fish/fish_variables @@ -47,7 +47,7 @@ SETUVAR fish_pager_color_selected_background:\x1d SETUVAR fish_pager_color_selected_completion:\x1d SETUVAR fish_pager_color_selected_description:\x1d SETUVAR fish_pager_color_selected_prefix:\x1d -SETUVAR fish_user_paths:/usr/local/sbin\x1e/usr/local/bin\x1e/usr/bin\x1e/var/lib/flatpak/exports/bin\x1e/home/aleidk/\x2elocal/bin +SETUVAR fish_user_paths:/home/aleidk/\x2ecargo/bin\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/usr/bin\x1e/var/lib/flatpak/exports/bin\x1e/home/aleidk/\x2elocal/bin SETUVAR pure_begin_prompt_with_current_directory:true SETUVAR pure_check_for_new_release:false SETUVAR pure_color_at_sign:pure_color_mute diff --git a/Configs/hypr/.config/hypr/hyprland.conf b/Configs/hypr/.config/hypr/hyprland.conf index ce6d9b7..d46dcc2 100644 --- a/Configs/hypr/.config/hypr/hyprland.conf +++ b/Configs/hypr/.config/hypr/hyprland.conf @@ -104,8 +104,8 @@ gestures { } misc { - enable_swallow = false - # swallow_regex = "" + enable_swallow = true + swallow_regex = ^(Alacritty|kitty|footclient)$ # swallow_exception_regex = "" mouse_move_focuses_monitor = false @@ -156,11 +156,11 @@ bind = $mainMod SHIFT, q, killactive, bind = $mainMod, D, exec, $menu # screenshot current window -bind = $mainMod, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy -# screenshot area -bind = $mainMod SHIFT, Print, exec, grim -g "$(slurp -d)" - | wl-copy +bind = SHIFT, Print, exec, grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy && notify-send "Screenshot taken!" # screenshot area and edit it -bind = $mainMod CTRL, Print, exec, grim -g "$(slurp -d)" - | swappy -f - +bind = SHIFT CTRL, Print, exec, grim -g "$(slurp -d)" - | swappy -f - && notify-send "Screenshot taken!" +# screenshot area +bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy && notify-send "Screenshot taken!" bind = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+ bind = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%- @@ -170,12 +170,12 @@ bind = , XF86AudioPlay, exec, playerctl play-pause bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioPrev, exec, playerctl previous bind = , XF86MonBrightnessUp, exec, brightnessctl set +5% -bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%- # ── Window Options ──────────────────────────────────────────────────── bind = $mainMod SHIFT, space, togglefloating, bind = $mainMod, f, fullscreen, 1 # preserve gaps and bar bind = $mainMod SHIFT, f, fullscreen, 0 # use whole screen +bind = $mainMod SHIFT, s, toggleswallow # ── Focus ───────────────────────────────────────────────────────────── bind = $mainMod, h, movefocus, l diff --git a/Configs/uwsm/.config/uwsm/env b/Configs/uwsm/.config/uwsm/env index 5387d79..02a9122 100644 --- a/Configs/uwsm/.config/uwsm/env +++ b/Configs/uwsm/.config/uwsm/env @@ -1,4 +1,8 @@ export QT_STYLE_OVERRIDE=kvantum +export QT_AUTO_SCREEN_SCALE_FACTOR=1 +export QT_QPA_PLATFORM=wayland;xcb +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 +export QT_QPA_PLATFORMTHEME=qt5ct export MOZ_ENABLE_WAYLAND=1 export XCURSOR_SIZE=24 export GTK_THEME=catppuccin-macchiato-teal-standard+default diff --git a/Configs/vimiv/.config/vimiv/keys.conf b/Configs/vimiv/.config/vimiv/keys.conf index 628b2d3..e69de29 100644 --- a/Configs/vimiv/.config/vimiv/keys.conf +++ b/Configs/vimiv/.config/vimiv/keys.conf @@ -1,87 +0,0 @@ -[GLOBAL] - : command -o : command --text='open ' -yy : copy-name -ya : copy-name --abspath -yA : copy-name --abspath --primary -yY : copy-name --primary -x : delete %% -gi : enter image -gl : enter library -gm : enter manipulate -gt : enter thumbnail -f : fullscreen -G : goto -1 -gg : goto 1 -m : mark %% -q : quit -. : repeat-command -j : scroll down -h : scroll left -l : scroll right -k : scroll up -/ : search -? : search --reverse -N : search-next -P : search-prev -b : set statusbar.show! -tl : toggle library -tm : toggle manipulate -tt : toggle thumbnail - -[IMAGE] -M : center -| : flip -_ : flip --vertical - : goto -1 - : goto 1 - : next -n : next -n : next --keep-zoom - : play-or-pause - : prev -p : prev -p : prev --keep-zoom -> : rotate -< : rotate --counter-clockwise -W : scale --level=1 - : scale --level=fit -w : scale --level=fit -E : scale --level=fit-height -e : scale --level=fit-width -J : scroll-edge down -H : scroll-edge left -L : scroll-edge right -K : scroll-edge up -sl : set slideshow.delay +0.5 -sh : set slideshow.delay -0.5 -ss : slideshow -+ : zoom in -- : zoom out - -[LIBRARY] -go : goto 1 --open-selected -n : scroll down --open-selected -p : scroll up --open-selected -L : set library.width +0.05 -H : set library.width -0.05 - -[THUMBNAIL] -+ : zoom in -- : zoom out -Q : mark-print && quit - -[COMMAND] - : complete - : complete --inverse -p : history next -n : history prev - : history-substr-search next - : history-substr-search prev - : leave-commandline - -[MANIPULATE] - : command -f : fullscreen -b : set statusbar.show! -