Add bar argument to polybar launch script

Can launch multiple polybars (defined in polybar/config file) by passing
them to the command, e.g. `polybar-launch my-bar1 my-bar2`
This commit is contained in:
Marty Oehme 2019-12-02 20:58:36 +01:00
parent f3460e6ff1
commit 8be1b224f9
3 changed files with 11 additions and 7 deletions

View file

@ -201,7 +201,7 @@ bindsym $mod+Shift+r restart
exec_always --no-startup-id feh --bg-scale ~/pictures/wall.jpg
# launch polybar (script ensures only 1 instance existing at a time)
exec_always --no-startup-id polybar-launch
exec_always --no-startup-id polybar-launch simple-top
# default workspaces for most used apps
# assign [class="^qutebrowser$"] → number 1