Not floating
fuzunspm opened this issue · 5 comments
fuzunspm commented
By default config, it's not floating unless i manually switch to floating
swaymsg -t get_tree | grep app_id
won't output launcher
.config
set $term termite
set $menu exec $term --class=launcher -e sway-launcher-desktop
bindsym $mod+d exec $menu
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 ppt 60 ppt, border pixel 10
skrat commented
Same issue
skrat commented
I was only able to get this work with termite -t some-title
then matching on title
Biont commented
You can check what window_properties
to match against with swaymsg -t get_tree | grep -C 10 launcher
(or something more fancy using jq
). In my case, it looks like this with URxvt:
"window_properties": {
"class": "URxvt",
"instance": "launcher",
"title": "env",
"transient_for": null
}
Consequently, I actually have this in my config:
for_window [class="URxvt" instance="launcher"] floating enable, border pixel 10, sticky enable
.
See if that helps you and please report what worked for you so I can update the README
skrat commented
For termite, you can use --name=foo
and that will result in app_id=foo
fuzunspm commented
thanks for the suggestions