rhysd / Mstdn

Tiny web-based mastodon client for your desktop
MIT License
389 stars 15 forks source link

floating window under i3 #35

Open zeratax opened 7 years ago

zeratax commented 7 years ago

if you use i3 as a wm the window opens as a new tile, which is rather annoying. I guess this is not in the scope of this application, but for anyone dealing with the same issue you could add something like this to your i3 config:

for_window [class="Mstdn"] floating enable move right 0px, move down 612px, resize shrink width 10000px, resize grow width 400px, resize shrink height 10000px, resize grow height 400px

Which allows you to start the application as a small floating window in the bottom corner, at least on a 1920x1080px screen. You could probably write a script that calculates the exact position

screenshot