hyprland: workspace/rules module init
still some work too be done, the regex types are cursed.
This commit is contained in:
parent
0b8a730519
commit
0873f56c28
5 changed files with 447 additions and 22 deletions
|
|
@ -1,24 +1,33 @@
|
|||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
windowrulev2 = [
|
||||
"float,move 191 15,size 924 396,class:^(1Password)$"
|
||||
|
||||
"float, title:^(Picture-in-Picture)$"
|
||||
"pin, title:^(Picture-in-Picture)$"
|
||||
|
||||
"float,move 237 175, size 1200 720,title:^(File Upload)$"
|
||||
|
||||
"workspace 4, title:^(Vesktop)$"
|
||||
|
||||
# Floating BTOP
|
||||
"float,title:^(BTOP)$"
|
||||
"size 85%,title:^(BTOP)$"
|
||||
"pin,title:^(BTOP)$"
|
||||
"center,title:^(BTOP)$"
|
||||
"stayfocused,title:^(BTOP)$"
|
||||
|
||||
# Tearing
|
||||
"immediate, title:^(TEKKEN™8)$"
|
||||
];
|
||||
};
|
||||
wayland.windowManager.hyprland.windowRules = [
|
||||
# TODO tag games for immediate
|
||||
{
|
||||
matches = {title = "TEKKEN™8";};
|
||||
rules = ["immediate"];
|
||||
}
|
||||
{
|
||||
matches = {class = "firefox";};
|
||||
rules = ["idleinhibit fullscreen"];
|
||||
}
|
||||
{
|
||||
matches = {class = "1Password";};
|
||||
rules = ["center 1" "float" "size 50%"];
|
||||
}
|
||||
{
|
||||
matches = {title = "BTOP";};
|
||||
rules = ["float" "size 85%" "pin" "center 1" "stayfocused" "dimaround"];
|
||||
}
|
||||
{
|
||||
matches = {class = "vesktop";};
|
||||
rules = ["workspace 4 silent"];
|
||||
}
|
||||
{
|
||||
matches = {title = "^(Picture-in-Picture)$";};
|
||||
rules = ["float" "pin"];
|
||||
}
|
||||
{
|
||||
matches = {title = "^(Open Files)$";};
|
||||
rules = ["center 1" "float" "size 50%"];
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue