From d3a253c1b31d7a43e863f13db9b7c3f4ceb09221 Mon Sep 17 00:00:00 2001 From: Swarsel Date: Mon, 29 Jul 2024 17:12:02 +0200 Subject: [PATCH] fix: force floating window sizes --- SwarselSystems.org | 6 +++--- profiles/common/home/sway.nix | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SwarselSystems.org b/SwarselSystems.org index 286a0ae..55c919b 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -7752,13 +7752,13 @@ Currently, I am too lazy to explain every option here, but most of it is very se }; } { - command = "opacity 0.8, sticky enable, border normal, move container to scratchpad"; + command = "resize set width 60 ppt height 60 ppt, opacity 0.8, sticky enable, border normal, move container to scratchpad"; criteria = { title = "^kittyterm$"; }; } { - command = "opacity 0.95, sticky enable, border normal, move container to scratchpad"; + command = "resize set width 60 ppt height 60 ppt, opacity 0.95, sticky enable, border normal, move container to scratchpad"; criteria = { title = "^spotifytui$"; }; @@ -7778,7 +7778,7 @@ Currently, I am too lazy to explain every option here, but most of it is very se }; } { - command = "sticky enable"; + command = "resize set width 60 ppt height 60 ppt, sticky enable"; criteria = { app_id = "discord"; }; diff --git a/profiles/common/home/sway.nix b/profiles/common/home/sway.nix index d474188..132beae 100644 --- a/profiles/common/home/sway.nix +++ b/profiles/common/home/sway.nix @@ -183,13 +183,13 @@ in }; } { - command = "opacity 0.8, sticky enable, border normal, move container to scratchpad"; + command = "resize set width 60 ppt height 60 ppt, opacity 0.8, sticky enable, border normal, move container to scratchpad"; criteria = { title = "^kittyterm$"; }; } { - command = "opacity 0.95, sticky enable, border normal, move container to scratchpad"; + command = "resize set width 60 ppt height 60 ppt, opacity 0.95, sticky enable, border normal, move container to scratchpad"; criteria = { title = "^spotifytui$"; }; @@ -209,7 +209,7 @@ in }; } { - command = "sticky enable"; + command = "resize set width 60 ppt height 60 ppt, sticky enable"; criteria = { app_id = "discord"; };