Johan Rong 2 месяцев назад
Родитель
Сommit
2af5a80205

+ 7 - 1
home/features/desktop/hyprland/config/modules/environment.lua

@@ -1,2 +1,8 @@
 hl.env("XCURSOR_SIZE", "24")
-hl.env("HYPRCURSOR_SIZE", "24")
+hl.env("HYPRCURSOR_SIZE", "24")
+
+hl.config({
+  xwayland = {
+    force_zero_scaling = true
+  }
+})

+ 14 - 4
home/features/desktop/hyprland/config/modules/windows_and_workspaces.lua

@@ -31,10 +31,20 @@ hl.window_rule({
 -- overlayLayerRule:set_enabled(false)
 
 -- Hyprland-run windowrule
+-- hl.window_rule({
+--     name  = "move-hyprland-run",
+--     match = { class = "hyprland-run" },
+-- 
+--     move  = "20 monitor_h-120",
+--     float = true,
+-- })
+
 hl.window_rule({
-    name  = "move-hyprland-run",
-    match = { class = "hyprland-run" },
+    match = { class = "discord" },
+    workspace = "11"
+})
 
-    move  = "20 monitor_h-120",
-    float = true,
+hl.window_rule({
+    match = { class = "Spotify" },
+    workspace = "12"
 })