hyprlang to lua

This commit is contained in:
elwrcl committed 2026-05-23 18:17:52 +03:00
1 parent 34bfd0593e
commit 396664eaa8
6 files changed
+326 -123

No files matched your search

+15 -15
View File
@@ -3,21 +3,21 @@
{
wayland.windowManager.hyprland.settings = {
windowrule = [
"float on, match:title ^(Open File)(.*)$"
"center on, match:title ^(Open File)(.*)$"
"float on, match:title ^(Save As)(.*)$"
"center on, match:title ^(Save As)(.*)$"
"float on, match:title ^(File Upload)(.*)$"
"center on, match:title ^(File Upload)(.*)$"
"float on, match:class ^(pavucontrol)$"
"center on, match:class ^(pavucontrol)$"
"size 45% 45%, match:class ^(pavucontrol)$"
"float on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$"
"pin on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$"
"keep_aspect_ratio on, match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$"
"immediate on, match:class ^(steam_app).*"
"float on, match:class ^(steam)$"
"float off, match:class ^(steam)$, match:title ^(Steam)$"
{ _args = [ "float on" "match:title ^(Open File)(.*)$" ]; }
{ _args = [ "center on" "match:title ^(Open File)(.*)$" ]; }
{ _args = [ "float on" "match:title ^(Save As)(.*)$" ]; }
{ _args = [ "center on" "match:title ^(Save As)(.*)$" ]; }
{ _args = [ "float on" "match:title ^(File Upload)(.*)$" ]; }
{ _args = [ "center on" "match:title ^(File Upload)(.*)$" ]; }
{ _args = [ "float on" "match:class ^(pavucontrol)$" ]; }
{ _args = [ "center on" "match:class ^(pavucontrol)$" ]; }
{ _args = [ "size 45% 45%" "match:class ^(pavucontrol)$" ]; }
{ _args = [ "float on" "match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$" ]; }
{ _args = [ "pin on" "match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$" ]; }
{ _args = [ "keep_aspect_ratio on" "match:title ^([Pp]icture[-\\s]?[Ii]n[-\\s]?[Pp]icture)(.*)$" ]; }
{ _args = [ "immediate on" "match:class ^(steam_app).*" ]; }
{ _args = [ "float on" "match:class ^(steam)$" ]; }
{ _args = [ "float off" "match:class ^(steam)$" "match:title ^(Steam)$" ]; }
];
};
}