diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index f55e042..a34678f 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -6,13 +6,10 @@ xrdb -load $HOME/.config/.Xresources & dunst -conf $HOME/.config/dunst/dunstrc & picom & feh --bg-fill ~/Pictures/nordic-obsession.png & -killall -q polybar - -# xrandr --output DisplayPort-2 --primary --mode 1920x1080 --rotate normal --output eDP --mode 1920x1080 --rotate normal --right-of DisplayPort-2 xset -b -DISPLAYS=$(bspc query -M --names) +DISPLAYS=$(xrandr -q | grep -w 'connected' | cut -d ' ' -f 1) EXT_PRIMARY="" for DISP in ${DISPLAYS}; do @@ -21,7 +18,8 @@ for DISP in ${DISPLAYS}; do fi done -if [ -n ${EXT_PRIMARY} ]; then +killall -q polybar +if [ ${EXT_PRIMARY} != "" ]; then xrandr --output ${EXT_PRIMARY} --primary --output eDP --right-of ${EXT_PRIMARY} bspc monitor ${EXT_PRIMARY} -d I II III IV V bspc monitor eDP -d VI VII VIII IX X diff --git a/.config/polybar/config b/.config/polybar/config index 29210cc..ab9b3c6 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -332,7 +332,7 @@ animation-discharging-framerate = 750 [module/temperature] type = internal/temperature thermal-zone = 0 -warn-temperature = 60 +warn-temperature = 85 format =