dotfiles/polybar/.config/herbstluftwm/autostart.d/polybar.sh
Tom Willemse 4b637506d9 Automatically hide polybar if necessary
xfreerdp doesn’t seem to play nice with Polybar, so hide Polybar whenever
xfreerdp is focused.
2020-04-26 16:17:45 -07:00

2 lines
101 B
Bash
Executable file

#!/usr/bin/env bash
pgrep polybar || { autohide-polybar.sh && polybar "$(hostname)" 2> /dev/null & }