From c0f9dd84aa37cb46eb65488f81553b76052f442a Mon Sep 17 00:00:00 2001 From: Kyattsukuro Date: Tue, 19 May 2026 12:34:24 +0200 Subject: [PATCH] updated hyprland config to v0.55.1 --- eggs/hypr/hyprland/general.conf | 1 - eggs/hypr/hyprland/windowrules.conf | 80 +++++++++++------------ eggs/hypr/hyprpaper.conf | 16 +++-- root-conf/nixos/nixMain/configuration.nix | 1 - 4 files changed, 51 insertions(+), 47 deletions(-) diff --git a/eggs/hypr/hyprland/general.conf b/eggs/hypr/hyprland/general.conf index dd8a32eb..4890c0fb 100644 --- a/eggs/hypr/hyprland/general.conf +++ b/eggs/hypr/hyprland/general.conf @@ -11,7 +11,6 @@ general { } dwindle { - pseudotile = yes preserve_split = yes } diff --git a/eggs/hypr/hyprland/windowrules.conf b/eggs/hypr/hyprland/windowrules.conf index ab36e11a..e63d7e41 100644 --- a/eggs/hypr/hyprland/windowrules.conf +++ b/eggs/hypr/hyprland/windowrules.conf @@ -1,52 +1,50 @@ -# windowrule v1 https://wiki.hyprland.org/Configuring/Window-Rules/ +# CopyQ - float, size, and position +windowrule = float on, match:initial_class ^(com.github.hluk.copyq)$ +windowrule = size 500 300, match:initial_class ^(com.github.hluk.copyq)$ +windowrule = move onscreen cursor 0 -100%, match:initial_class ^(com.github.hluk.copyq)$ -windowrulev2 = float, initialClass:^(com.github.hluk.copyq)$ -windowrulev2 = size 500 300, initialClass:^(com.github.hluk.copyq)$ -windowrulev2 = move onscreen cursor 0 -100%, initialClass:^(com.github.hluk.copyq)$ -# --- fixed pos -windowrule = size 600 300, title:(.*)(Dialect)$ -windowrule = move 0 2840, title:(.*)(Dialect)$ +# Dialect - fixed position +windowrule = size 600 300, match:title (.*)(Dialect)$ +windowrule = move 0 2840, match:title (.*)(Dialect)$ -windowrulev2 = suppressevent maximize, class:.* +# Thunar / FileRoller - file transfer window, float top right +windowrule = float on, match:initial_title [(Copying )|(Preparing to)|(File Operation Progress)], match:initial_class ^(thunar | org.gnome.FileRoller)$ +windowrule = move 2753 12, match:initial_title [(Copying )|(Preparing to)|(File Operation Progress)], match:initial_class ^(thunar | org.gnome.FileRoller)$ +windowrule = size 450 100, match:initial_title [(Copying )|(Preparing to)|(File Operation Progress)], match:initial_class ^(thunar | org.gnome.FileRoller)$ -# Thunar file transfer window, float top right -windowrulev2 = float, initialTitle:[(Copying )|(Preparing to)|(File Operation Progress)],initialClass:^(thunar | org.gnome.FileRoller)$ -windowrulev2 = move 2753 12, initialTitle:[(Copying )|(Preparing to)|(File Operation Progress)],initialClass:^(thunar | org.gnome.FileRoller)$ -windowrulev2 = size 450 100, initialTitle:[(Copying )|(Preparing to)|(File Operation Progress)],initialClass:^(thunar | org.gnome.FileRoller)$ +windowrule = float on, match:title ^(Extract*), match:initial_class ^(org.gnome.FileRoller)$ +windowrule = move 2903 13, match:title ^(Extract*), match:initial_class ^(org.gnome.FileRoller)$ +windowrule = size 450 100, match:title ^(Extract*), match:initial_class ^(org.gnome.FileRoller)$ -windowrulev2 = float, title:^(Extract*), initialClass:^(org.gnome.FileRoller)$ -windowrulev2 = move 2903 13, title:^(Extract*), initialClass:^(org.gnome.FileRoller)$ -windowrulev2 = size 450 100, title:^(Extract*), initialClass:^(org.gnome.FileRoller)$ +# Steam drop down +windowrule = stay_focused on, match:title ^()$, match:class ^(steam)$ +windowrule = min_size 1 1, match:title ^()$, match:class ^(steam)$ -# Fixing steam drop down -windowrulev2 = stayfocused, title:^()$,class:^(steam)$ -windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$ +# XWaylandVideoBridge - hide and disable focus +windowrule = opacity 0.0 override 0.0 override, match:class ^(xwaylandvideobridge)$ +windowrule = no_anim on, match:class ^(xwaylandvideobridge)$ +windowrule = no_focus on, match:class ^(xwaylandvideobridge)$ +windowrule = no_initial_focus on, match:class ^(xwaylandvideobridge)$ -# Fix Screen sharing for XWayland -windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ -windowrulev2 = noanim,class:^(xwaylandvideobridge)$ -windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ -windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ +# Genshin Impact +windowrule = maximize on, match:class ^(genshinimpact.exe)$ +windowrule = monitor 1, match:class ^(genshinimpact.exe)$ +windowrule = no_anim on, match:class ^(genshinimpact.exe)$ +windowrule = float on, match:class ^(genshinimpact.exe)$ -# Fix genshin impact -windowrulev2 = maximize,class:^(genshinimpact.exe)$ -windowrulev2 = monitor 1,class:^(genshinimpact.exe)$ -windowrulev2 = noanim,class:^(genshinimpact.exe)$ -windowrulev2 = float,class:^(genshinimpact.exe)$ +# Bar popups / Nextcloud - float near bar +windowrule = float on, match:class ^(bar_popup|com.nextcloud.desktopclient.nextcloud)$ +windowrule = move 2690 298, match:title ^(Weather Report)$, match:class ^(bar_popup)$ +windowrule = size 670 850, match:title ^(Weather Report)$, match:class ^(bar_popup)$ -# Setting weather to float near bar -windowrulev2 = float,class:^(bar_popup|com.nextcloud.desktopclient.nextcloud)$ -windowrulev2 = move 2690 298,title:^(Weather Report)$,class:^(bar_popup)$ -windowrulev2 = size 670 850, title:^(Weather Report)$,class:^(bar_popup)$ +windowrule = move 2755 608, match:title ^(Connection Editor|Pipewire Volume Control)$, match:class ^(bar_popup|com.saivert.pwvucontrol)$ +windowrule = size 596 819, match:title ^(Connection Editor|Pipewire Volume Control)$, match:class ^(bar_popup|com.saivert.pwvucontrol)$ -windowrulev2 = move 2755 608,title:^(Connection Editor|Pipewire Volume Control)$,class:^(bar_popup|com.saivert.pwvucontrol)$ -windowrulev2 = size 596 819, title:^(Connection Editor|Pipewire Volume Control)$,class:^(bar_popup|com.saivert.pwvucontrol)$ +windowrule = move 2765 615, match:title ^(Nextcloud)$, match:class ^(com.nextcloud.desktopclient.nextcloud)$ +windowrule = size 596 819, match:title ^(Nextcloud)$, match:class ^(com.nextcloud.desktopclient.nextcloud)$ -windowrulev2 = move 2765 615, title:^(Nextcloud)$,class:^(com.nextcloud.desktopclient.nextcloud)$ -windowrulev2 = size 596 819, title:^(Nextcloud)$,class:^(com.nextcloud.desktopclient.nextcloud)$ +windowrule = float on, match:class ^(Rofi)$ -windowrulev2 = float,class:^(Rofi)$ - -windowrulev2 = float,class:FloatingTerminal -windowrulev2 = move -205 15,class:FloatingTerminal -windowrulev2 = size 190 100,class:FloatingTerminal +windowrule = float on, match:class FloatingTerminal +windowrule = move -205 15, match:class FloatingTerminal +windowrule = size 190 100, match:class FloatingTerminal diff --git a/eggs/hypr/hyprpaper.conf b/eggs/hypr/hyprpaper.conf index 83360af3..f9e473c8 100755 --- a/eggs/hypr/hyprpaper.conf +++ b/eggs/hypr/hyprpaper.conf @@ -3,12 +3,20 @@ preload = /home/someone/.config/assets/wallpaper/perfect-blue.png # DP-2 preload = /home/someone/.config/assets/wallpaper/cat_arrow_edit.png # DP-3 -#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used -wallpaper = DP-2,/home/someone/.config/assets/wallpaper/perfect-blue.png -wallpaper = DP-3,/home/someone/.config/assets/wallpaper/cat_arrow_edit.png +wallpaper { + monitor = DP-3 + path = /home/someone/.config/assets/wallpaper/cat_arrow_edit.png + fit_mode = cover +} + +wallpaper { + monitor = DP-2 + path = /home/someone/.config/assets/wallpaper/perfect-blue.png + fit_mode = cover +} #enable splash text rendering over the wallpaper splash = true #fully disable ipc -# ipc = off \ No newline at end of file +# ipc = off diff --git a/root-conf/nixos/nixMain/configuration.nix b/root-conf/nixos/nixMain/configuration.nix index dad52e76..c12f501c 100644 --- a/root-conf/nixos/nixMain/configuration.nix +++ b/root-conf/nixos/nixMain/configuration.nix @@ -184,7 +184,6 @@ in hypridle playerctl pwvucontrol - hyprlandPlugins.hyprspace android-tools kdePackages.kdeconnect-kde