much stuff
This commit is contained in:
parent
1e3eb0215f
commit
af221b79fa
6 changed files with 149 additions and 38 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue