much stuff

This commit is contained in:
Cheri 2020-11-05 10:26:43 +02:00 committed by vibikim
parent 1e3eb0215f
commit af221b79fa
6 changed files with 149 additions and 38 deletions

View file

@ -356,7 +356,7 @@ icon-next = 
[module/workspaces]
type = internal/bspwm
pin-workspaces = true
pin-workspaces = false
enable-click = true
enable-scroll = true
@ -373,6 +373,7 @@ ws-icon-5 = 6;VI
ws-icon-6 = 7;VII
ws-icon-7 = 8;VIII
ws-icon-8 = 9;IX
ws-icon-9 = 0;X
ws-icon-default = o
label-monitor = %name%
@ -429,7 +430,7 @@ format-foreground = ${color.fg}
format-padding = 4
label = %title%
label-maxlen = 50
label-maxlen = 100
; Used instead of label when there is no window title
; Available tokens:

View file

@ -16,7 +16,7 @@ if [ -z "`pgrep -x polybar`" ]; then
BAR="main"
#Detect if DP or internal laptop displays are connected and show a polybar for them
#TODO look at the other laptop for the name of the HDMI output
for m in $(polybar -m | grep "\(DP\|LVDS\|eDP\|DisplayPort\)" | cut -d ':' -f1); do
for m in $(polybar -m | grep "\(HDMI\|DP\|LVDS\|eDP\|DisplayPort\)" | cut -d ':' -f1); do
MONITOR=$m
polybar --reload $BAR -c ~/.config/polybar/config.ini &
sleep 1