diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-04-02 15:02:21 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-04-02 15:02:21 +0200 |
commit | 0fff22af6d22a60c0fbf982f596b9c103bb1c6d3 (patch) | |
tree | 6d49f2265ed0da68546736ebbb98a9f9136f0af6 /bspwmrc | |
parent | be4fdf85c759b8920608ec4ad828a0daefdce767 (diff) |
more versatile dual monitor scripts
Diffstat (limited to 'bspwmrc')
-rwxr-xr-x | bspwmrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -17,8 +17,7 @@ pgrep -x sxhkd > /dev/null || sxhkd & -xrandr --output 'DP2' --auto -xrandr --output 'DP2' --right-of 'eDP1' +SCR1=$(xrandr -q | grep ' connected' | grep primary | awk '{print $1}') xss-lock --transfer-sleep-lock -- i3lock-fancy-rapid 1 10 & @@ -42,7 +41,7 @@ killall -qw dunst; dunst & killall -qw polybar; ~/.config/polybar/launch.sh & killall -qw init_monitor.sh; ~/.config/bspwm/init_monitor.sh & -bspc monitor 'eDP1' -n 1 -d 1 2 3 4 5 6 7 8 9 +bspc monitor "${SCR1}" -n 1 -d 1 2 3 4 5 6 7 8 9 bspc config border_width 0 bspc config window_gap 10 |