1
1
Fork 0

hyprland: fix waydroid rules

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-27 20:44:12 -05:00
parent 9406febab5
commit fac2c7e340
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -31,7 +31,7 @@ in {
workspace = [
"name:gamescope, on-created-empty:MANGOHUD=0 ${gamescope} --fullscreen --steam ${steam}"
"special:android, on-created-empty:${launch} --empty ${waydroid} app launch com.YoStarEN.Arknights"
"special:android, on-created-empty:${launch} --empty --workspace special:android ${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}"
@ -145,7 +145,7 @@ in {
# Wrap generated rules in Nix categories
tag = {
android = rules: [
(class "waydroid.*" rules)
(class "[Ww]aydroid.*" rules)
];
clipboard = rules: [
(class "clipboard" rules)
@ -217,7 +217,7 @@ in {
(fullscreen true ["idleinhibit focus"])
(pinned true ["bordercolor rgb(073642) rgb(073642)"])
(tag.android ["maximize" "idleinhibit always" "noborder" "noshadow" "workspace special:android"])
(tag.android ["idleinhibit always" "tile" "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"])