Hi guys,
I’m almost sure this has an answer, probably posted in a very conspicuous place, but i just cannot find it. How do i autohide polybar? Ideally I’d like intelligent autohide where it completely disappears when the window of a program needs to cover it, and reappears when not. Is that a possibility? If not, a simple autohide will suffice. Thanks.
bill
hideIt.sh you can also download it via yaourt, yay, etc etc
if I remember correctly.
Regards
I have not found an entirely reliable way to auto-hide Polybar.
with this script I find myself very well and it works very well, I’m using it more than a year, never had a problem.
But maybe I did not understand your question.
I installed the script in / usr / bin /
I gave the following command and the auto-hide works without problems.
hideIt.sh -N '^polybar-openbox-bar_LVDS1$' -p 3 -d top -H
Did you make this a keybind?
hideit is more like a daemon, you don’t need to bind it.
You run it once when starting and it will hide the bar, when you mouse over the threshold it will show it.
Cheers Smoke. Added it to my i3 Config.
I put it in autostart openbox, so it’s ready to start.
Regards
Thanks man.
I used the search and your other topic came up …
Hi ector,
Sorry to be dense, i am new at openbox and not sure of all the necessary steps. I have downloaded hideIt.sh but am not able to install it. Could you give me the necessary commands? It appears to be exactly what i need if only i could get it installed and in the right place. Thx.
Give the following commands:
install
Yay -S hideIt.sh
or
yaourt -S hideIt.sh
start it from the terminal
hideIt.sh -N '^polybar-openbox-bar_LVDS1$' -p 3 -d top -H
Find the windows name
$ xprop | grep WM_NAME
my is
WM_NAME(STRING) = "polybar-openbox-bar_LVDS1"
to start it on startup,paste this on openbox autostart
hideIt.sh -N '^polybar-openbox-bar_LVDS1$' -p 3 -d top -H &
Thank so much for your kind patience on this!
yaourt says it doesn’t exist. yay says package build exists, then gives me examples of arcane commands which i suppose are to do the build? I tried downloading directly from github but then had no idea how to build/install it.
yaourt hideIt.sh
1 aur/hideit.sh-git r41.8fd7476-1 (2) (0,62)
Automagically hide/show a window
==> Inserisci il numero dei pacchetti da installare (ex: 1 2 3 o 1-3)
==> -----------------------------------------------------------------
==>
With yay, you just have to send it a couple of times and do it all by yourself.
arrived here by sending, until it downloads and then continues alone.
Regards
[don@don-pc ~]$ yay hideIt.sh
1 aur/hideit.sh-git r41.8fd7476-1 (+2 0.62%)
Automagically hide/show a window
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1] hideit.sh-git-r41.8fd7476-1
:: Downloaded PKGBUILD (1/1): hideit.sh-git
1 hideit.sh-git (Build Files Exist)
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> Diffs to show?
==>
Is hideIt.sh still available in AUR? I had it installed on another machine but never got around to trying it to hide polybar. Now starting anew i do
baph -i hideIt.sh
but get error code 404, not found. Thanks.
You can also download the script from here
and put it in
/ Usr / bin /
remember to give permission to execute
Regards