Commit 28db94c9 authored by Nico Schottelius's avatar Nico Schottelius

Derive primary

parent ec6667f1
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
mode="${1:-normal}" mode="${1:-normal}"
location="${2:-above}" location="${2:-above}"
resolution="${3:-1024x768}" resolution="${3:-1024x768}"
#primary="${4:-$(xrandr | awk '/primary/ { print $1 }')}" primary="${4:-$(xrandr | awk '/primary/ { print $1 }')}"
primary="eDP1"
xrandr=$(xrandr) xrandr=$(xrandr)
disconnected=$(echo "$xrandr" | grep disconnected | cut -d' ' -f1) disconnected=$(echo "$xrandr" | grep disconnected | cut -d' ' -f1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment