From c7a56c45f20aadefa1de79cfb054439cd7ce2771 Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 26 Oct 2024 20:39:35 -0500 Subject: [PATCH] hyprland: modify waydroid rules Signed-off-by: Myned --- options/custom/desktops/hyprland/plugins.nix | 1 + options/custom/desktops/hyprland/rules.nix | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/options/custom/desktops/hyprland/plugins.nix b/options/custom/desktops/hyprland/plugins.nix index e7ec0ac..6b08647 100644 --- a/options/custom/desktops/hyprland/plugins.nix +++ b/options/custom/desktops/hyprland/plugins.nix @@ -30,6 +30,7 @@ in { "plugin:hyprbars:nobar, class:^dropdown$" "plugin:hyprbars:nobar, class:^org\\.gnome\\.Nautilus$, title:^New Folder$" "plugin:hyprbars:nobar, class:^steam_app_.+$" + "plugin:hyprbars:nobar, class:^waydroid.*$" "plugin:hyprbars:nobar, class:^Xdg-desktop-portal-gtk$" "plugin:hyprbars:nobar, title:^Picture.in.[Pp]icture$" ]; diff --git a/options/custom/desktops/hyprland/rules.nix b/options/custom/desktops/hyprland/rules.nix index 2f4a9f8..11db1cd 100644 --- a/options/custom/desktops/hyprland/rules.nix +++ b/options/custom/desktops/hyprland/rules.nix @@ -31,7 +31,7 @@ in { workspace = [ "name:gamescope, on-created-empty:MANGOHUD=0 ${gamescope} --fullscreen --steam ${steam}" - "special:android, on-created-empty:${waydroid} app launch com.YoStarEN.Arknights" + "special:android, on-created-empty:${launch} --empty ${waydroid} app launch com.YoStarEN.Arknights" "special:music, on-created-empty:${youtube-music}" "special:office, on-created-empty:[tile] ${onlyoffice} --xdg-desktop-portal" "special:password, on-created-empty:${launch} --empty --tile --workspace special:password ${_1password}" @@ -217,7 +217,7 @@ in { (fullscreen true ["idleinhibit focus"]) (pinned true ["bordercolor rgb(073642) rgb(073642)"]) - (tag.android ["tile" "workspace special:android"]) + (tag.android ["maximize" "idleinhibit always" "noborder" "noshadow" "workspace special:android"]) (tag.clipboard ["move ${clipboard.x} ${clipboard.y}" "pin" "size ${clipboard.w} ${clipboard.h}" "stayfocused"]) (tag.dropdown ["move ${dropdown.x} ${dropdown.y}" "pin" "size ${dropdown.w} ${dropdown.h}"]) (tag.editor ["group override set" "tile"])