aboutsummaryrefslogtreecommitdiffstats
path: root/bin/screensetup
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-05-08 20:22:16 +0200
committerDavid Runge <dave@sleepmap.de>2016-05-08 20:22:16 +0200
commit08845cec6393482a60493e465f0ba13727386f5b (patch)
tree8282cffd99ca2a12dfb3d34a7f82a28ac26d71b5 /bin/screensetup
parent9cfb64c997b8e5f095c75f39641762f44d3307c2 (diff)
downloaddotfiles-08845cec6393482a60493e465f0ba13727386f5b.tar.gz
dotfiles-08845cec6393482a60493e465f0ba13727386f5b.tar.bz2
dotfiles-08845cec6393482a60493e465f0ba13727386f5b.tar.xz
dotfiles-08845cec6393482a60493e465f0ba13727386f5b.zip
bin/set_volume: Making script not depend on functions.sh anymore. Introducing bash strict mode.
Diffstat (limited to 'bin/screensetup')
-rwxr-xr-xbin/screensetup17
1 files changed, 0 insertions, 17 deletions
diff --git a/bin/screensetup b/bin/screensetup
deleted file mode 100755
index b15d63e..0000000
--- a/bin/screensetup
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-#set dpms and screen blanking
-xset +dpms
-xset s 360 360
-
-# Setup screens
-
-# get info from xrandr
-IFS=$'\r\n' connectedOutputs=($(xrandr | grep " connected" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/"))
-
-#if more than one screen, setup both, using the external left of the internal as primary
-if [ ${#connectedOutputs[@]} -gt 1 ]; then
- xrandr --output "${connectedOutputs[0]}" --auto --output "${connectedOutputs[1]}" --auto --primary --left-of "${connectedOutputs[0]}"
-fi
-
-