commit f9c66e7c326551c211bfc927746f15af525623df parent b338b535626b71502f93ba96f6065e648bc96098 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Thu, 6 Feb 2014 09:17:57 +0100 fill background with image Diffstat:
M | .xinitrc | | | 12 | ++++++++---- |
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/.xinitrc b/.xinitrc @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Disable beeps xset -b @@ -8,7 +8,8 @@ xsetroot -cursor_name left_ptr & # Set background color #xsetroot -solid '#222222' & -hsetroot -cover ~/wallpapers/blue-gradient.jpg +#hsetroot -cover ~/wallpapers/blue-gradient.jpg +hsetroot -fill ~/wallpapers/blue-gradient.jpg # Hide mouse on inactivity unclutter -grab -noevents -root & @@ -80,8 +81,11 @@ setxkbmap -option ctrl:nocaps xbindkeys # Setup two monitors at iddqd -#xrandr --output DVI-D-0 --primary -#xrandr --output DP-1 --auto --left-of DVI-D-0 +HOSTNAME=`hostname` +if [[ "$HOSTNAME" == 'iddqd' ]]; then + xrandr --output DVI-D-0 --primary + xrandr --output DP-1 --auto --left-of DVI-D-0 +fi #exec i3