blob: 702c947f4aaac1678fa2132ef78e410abc735477 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/usr/bin/bash
case $1 in
-l|--left)
xrandr --output DP-1 --left-of eDP-1 --auto;;
-r|--right)
xrandr --output DP-1 --right-of eDP-1 --auto;;
-o|--off)
xrandr --output DP-1 --off --auto;;
-t|--rotate)
xrandr --output DP-1 --rotate left --right-of eDP-1 --auto;;
--reload);;
*)
echo <<- EOF
hdmi: Simple wrapper around xrandr to set the external display
appropriately, with the options mostly premade.
Options:
-l,--left Screen to the left of main.
-r,--right Screen to the right of main.
-o,--off Turn the other screen off.
-r,--rotate Rotate the screen left.
--reload Only reload the session.
EOF
exit 0;;
esac
~/.config/bspwm/bspwmrc >/dev/null 2>&1 &
~/.fehbg >/dev/null 2>&1
|