mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 05:00:08 +02:00
Open a profile's apps even when the screens can't be arranged
With no head pose (the headset off), ft-layout use stopped before ft-floatd opened the apps. The screens now stay where they are, the profile's hidden screens still hide, and the apps open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
20e8d6254a
commit
3da17bc838
1 file changed
+5
-1
+5
-1
@@ -1161,9 +1161,13 @@ def main(argv):
|
|||||||
apply()
|
apply()
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
log(f"not arranged now: {e}")
|
log(f"not arranged now: {e}")
|
||||||
|
try: # the screens stay put, but the profile's hidden ones still hide
|
||||||
|
send_hidden(screens_socket(), layout)
|
||||||
|
except RuntimeError:
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
kwin_follow()
|
kwin_follow()
|
||||||
open_apps(argv[2])
|
open_apps(argv[2]) # floating windows go relative to the screens, wherever they are
|
||||||
else:
|
else:
|
||||||
changes = apply_scales()
|
changes = apply_scales()
|
||||||
log("kwin: " + (" ".join(changes) if changes else "unchanged"))
|
log("kwin: " + (" ".join(changes) if changes else "unchanged"))
|
||||||
|
|||||||
Reference in new issue
Block a user