tadly / hideIt.sh

Automagically hide/show a window by its name when the cursor is within a defined region or you mouse over it.
GNU General Public License v3.0
248 stars 11 forks source link

startup polybar not hide (manually run it on terminal working fine) #9

Closed thyeun closed 4 years ago

thyeun commented 4 years ago

Sorry for asking this, i been include an auto startup in i3 with the below line

exec_always --no-startup-id hideIt.sh -N '^polybar-mainbar-i3_LVDS1$' -d bottom -s 1 -H &

but the polybar still wont startup hide.

And i already included override-redirect = true.

Manually run it on terminal, it working fine.

tadly commented 4 years ago

Most likely this is because the window doesn't exist yet.

Try:

exec_always --no-startup-id hideIt.sh -w -N '^polybar-mainbar-i3_LVDS1$' -d bottom -s 1 -H &
thyeun commented 4 years ago

Thanks it working with the -w, i think.

Sorry i noob on this

tadly commented 4 years ago

No problem. We all learn :) Glad it's working now