fsobolev / timeswitch

Power off, reboot, suspend, send a notification or execute any command on timer. ⏲️ Written in Python using LibAdwaita.
https://flathub.org/apps/details/io.github.fsobolev.TimeSwitch
Other
36 stars 8 forks source link

Improve headerbar and save window state #47

Closed fsobolev closed 1 year ago

fsobolev commented 1 year ago

While the headerbar looks good with default GNOME settings for window controls (:close), having different window controls setup can cause timer mode dropdown to move off center or even increase the window width to get enough space. This is not critical, the app is completely useful, but this doesn't look good. I think that the best solution will be to move dropdown to the end of headerbar instead of center, increase default window width (not minimal, but default) to make it look good at least for EN locale and :minimize,maximize,close controls, and also save window size so a user can resize the window how they want and this will be remembered.