From 6a7f25fff947148ea5f54f2c5243bff6171519e4 Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Mon, 1 Apr 2024 18:32:10 +0700 Subject: [PATCH] enhance: Adjustments - Trying to fix swww slow load (doesn't work...) - Use KDE Polkit Agent - XtMapper window rules --- .config/hypr/hyprland.conf | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 394f490..ab58c49 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,3 +1,4 @@ +exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources exec-once = eww-launch @@ -7,11 +8,8 @@ exec-once = numlockx exec-once = lxpolkit exec-once = fcitx5 -d exec-once = xsettingsd & -exec-once = mouseless & #exec-once = mpvpaper -vs -o "no-audio loop" VGA-1 /home/ziro/my\ Files/Wallpaper/HoloLive/Torii\ Gate/Torii\ Gate.webm & -exec-once = swww-daemon --format xrgb -exec-once = swww img $HOME/Wallpaper/HoloLive/Torii\ Gate/preview.png # load the preview while we wait for the gif to load -exec-once = sleep 3 && swww img $HOME/Wallpaper/HoloLive/Torii\ Gate/Torii\ Gate.gif +exec-once = swww query || sleep 1; swww init --format xrgb && swww img -t none $HOME/Wallpaper/HoloLive/Torii\ Gate/Torii\ Gate.gif monitor=,preferred,auto,auto @@ -43,7 +41,7 @@ general { decoration { rounding = 5 blur { - enabled = 1 + enabled = 0 size = 3 passes = 1 new_optimizations = 1 @@ -95,6 +93,15 @@ master { # ======================== #windowrule = unset,^(Spotify)$ #windowrule = tile,^(Spotify)$ +# >> Waydroid bullshit +windowrulev2 = stayfocused,title:^(XtMapper)$ +windowrulev2 = noblur,title:^(XtMapper)$ +windowrulev2 = float,title:^(XtMapper)$ +windowrulev2 = move 0 34,title:^(XtMapper)$ +windowrulev2 = rounding 0,title:^(XtMapper)$ +windowrulev2 = maxsize 1366 734,title:^(XtMapper)$ +windowrulev2 = minsize 1366 734,title:^(XtMapper)$ +# << # Alt Key = Mostly for terminals only $mainMod = SUPER # Super Key = General MOD for WM