Publié Il y a 7 jours
hello,
erreur footclient lancé dans le scratchpad n'est pas fonctionnel
WARNING:terminal is not fully fonctionnal
press RETURN to continue
j'ai fais pas mal d'essai car on ne trouve rien sur le net a ce sujet, à par quelque théorie fumeuses
j'ai trouvé une syntaxe qui fonctionne bien
ouverture de footclient sans autre option, puis mise en forme
par contre j'ai pas su le replacé dans le scratpad sans mettre en vrac la fenetre
diff --unified /etc/skel/.config/sway/config.d/05-scratchpad.conf ~/.config/sway/config.d/05-scratchpad.conf
TEXT
--- /etc/skel/.config/sway/config.d/05-scratchpad.conf 2026-04-05 15:09:58.843467847 +0200
+++ /home/stephane/.config/sway/config.d/05-scratchpad.conf 2026-04-21 14:45:58.519989039 +0200
@@ -4,9 +4,23 @@
-exec --no-startup-id "sleep 10 && $term -t scratch -a scratch -W 130x25"
-for_window [app_id="scratch"] floating enable, move absolute position center
-for_window [app_id="scratch"] move scratchpad
+exec --no-startup-id "sleep 5 && $term"
+for_window {
+ [app_id=$term] {
+ move to scratchpad
+ [app_id=$term] focus
+ resize set width 50 ppt height 50 ppt
+ move position 960 540
+ }
+}
+#for_window [app_id="scratch"] floating enable, move absolute position center
+#for_window [app_id="scratch"] move scratchpad
# Move the currently focused window to the scratchpad
bindsym $mad+Shift+Return move scratchpad