Move xrandr from xprofile to bspwm
This commit is contained in:
parent
5461c70146
commit
0d4587d023
2 changed files with 11 additions and 6 deletions
.config/bspwm
|
@ -9,23 +9,28 @@ bspc config presel_feedback_color "#6272a4"
|
|||
|
||||
host_name=$(cat /proc/sys/kernel/hostname)
|
||||
if [[ $host_name == "portalo" ]]; then
|
||||
xrandr --output $MONITOR_SECONDARY --left-of $MONITOR_SECONDARY
|
||||
xrandr --output $MONITOR_PRIMARY --mode 2560x1440 --refresh 144
|
||||
#primary="HDMI-A-0"
|
||||
#secondary="DVI-D-0"
|
||||
|
||||
bspc monitor $MONITOR_PRIMARY -d web terminal 3 4 5 6 game
|
||||
bspc monitor $MONITOR_SECONDARY -d side-view voip messenger
|
||||
|
||||
sleep 0.1
|
||||
sleep 1
|
||||
bspc wm -O $MONITOR_PRIMARY $MONITOR_SECONDARY
|
||||
|
||||
elif [[ $host_name == *"laptop"* ]]; then
|
||||
xrandr --output $MONITOR_PRIMARY --auto
|
||||
xrandr --output $MONITOR_SECONDARY --left-of $MONITOR_PRIMARY --auto
|
||||
|
||||
#primary="eDP-1"
|
||||
#secondary="HDMI-2"
|
||||
|
||||
bspc monitor $MONITOR_PRIMARY -d web terminal 3 4 5 6 messenger
|
||||
bspc monitor $MONITOR_SECONDARY -d side-view 9 10
|
||||
|
||||
sleep 0.1
|
||||
sleep 1
|
||||
bspc wm -O $MONITOR_PRIMARY $MONITOR_SECONDARY
|
||||
else
|
||||
bspc monitor primary -d web terminal 3 4 5 6 7 8 9 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue