Skip to content

Instantly share code, notes, and snippets.

@andykais
Created August 22, 2015 16:43
Show Gist options
  • Save andykais/85430dc699d42a104605 to your computer and use it in GitHub Desktop.
Save andykais/85430dc699d42a104605 to your computer and use it in GitHub Desktop.
used for setting up multiple monitors
#!/bin/bash
xrandr -q | grep 'connected' | awk '{print $1}' | while read line
do
if [ "$line" != "LVDS1" ]
then
xrandr --output $line --left-of LVDS1 --auto
fi
done
feh --bg-fill $(cat /home/andrew/bin/slideshow_latest.txt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment