Add "Start Minimized" feature?
Closed this issue · 3 comments
Thanks for this handy wrapper.
Could you perhaps also add a functionality to close the Viber window which opens automatically at startup?
I achieve this by adding the bash script below to my startup commands:
sleep 10
viber_window=wmctrl -l | grep "Viber " | awk -F'N/A ' '{print $2}'
wmctrl -c "$viber_window"
Done. Update your local copy and run the script wiht --close-chat.
For now this is some kind of hack since the chat is closed right after it's displayed.
If I have time I'll try to investigate if it's possible to intercept window creation with Xlib and do some stuff at that time (this is my first project using X at all so I can't guarantee anything).
This is great! Thanks!
My ViberClose script was not doing the job perfectly.
But IMHO the previous icon was better (smaller and more fitting to the unity top panel (which I replaced from the previous code ;-)
Glad to hear that. And about the Icon, that's the good thing about open source :)