dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b15921d026a6c1cf9a04b9fa3daf1738dcb11f68
parent ffe43d48f4d9f9714d9c45afa4cb5d046a3cca6c
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date:   Wed, 28 Jan 2015 10:49:52 +0100

add wallpaper script

Diffstat:
M.Xresources | 8+++++++-
M.compton.conf | 4++--
M.xinitrc | 3++-
Mbin/xrandr-auto.sh | 2++
4 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/.Xresources b/.Xresources @@ -3,10 +3,11 @@ Xcursor.theme: Vanilla-DMZ-AA Xcursor.size: 22 ! terminal colors ------------------------------------------------------------ +! see https://ciembor.github.io/4bit !#include "/home/ad/.colors/solarized" -#include "/home/ad/.colors/solarized" !#include "/home/ad/.colors/solarized_light" !#include "/home/ad/.colors/erosionedit" +#include "/home/ad/.colors/solarized" ! fonts ---------------------------------------------------------------------- Xft*dpi: 96 @@ -89,6 +90,11 @@ urxvt*boldfont: xft:PragmataPro:size=9:style=Bold ! shading: 0-99 darkens, 101-200 lightens !urxvt*transparent: true !urxvt*shading: 10 +!urxvt*transparent: true +!urxvt*shading: 80 +!urxvt*blurRadius: 5 +!urxvt*fading: 30 + ! xterm ---------------------------------------------------------------------- xterm*background: black diff --git a/.compton.conf b/.compton.conf @@ -6,8 +6,8 @@ # Backend to use: "xrender" or "glx". # GLX backend is typically much faster but depends on a sane driver. -#backend = "xrender"; -backend = "glx"; +backend = "xrender"; +#backend = "glx"; ################################# # diff --git a/.xinitrc b/.xinitrc @@ -12,7 +12,8 @@ xsetroot -cursor_name left_ptr & #xsetroot -solid '#222222' & #hsetroot -cover ~/wallpapers/blue-gradient.jpg #hsetroot -tile ~/wallpapers/solarized-pattern.png -hsetroot -fill ~/wallpapers/fall.jpg # single screen +#hsetroot -fill ~/wallpapers/fall.jpg # single screen +$HOME/bin/wallpaper.sh #if [ "$HOSTNAME" = "iddqd" ] #then #hsetroot -fill ~/wallpapers/octahedron-bg-gimp-double.png # dual screen diff --git a/bin/xrandr-auto.sh b/bin/xrandr-auto.sh @@ -11,6 +11,7 @@ MONITOR=$LAPTOPSCR function ActivateEXT { #echo "Switching to EXTSCR" xrandr --output $EXTSCR --auto --output $LAPTOPSCR --off + ./wallpaper.sh MONITOR=$EXTSCR #notify-send "Activating $EXTSCR" } @@ -18,6 +19,7 @@ function DeactivateEXT { #echo "Switching to $LAPTOPSCR" #xrandr --output $EXTSCR --off --output $LAPTOPSCR --auto xrandr --auto + ./wallpaper.sh MONITOR=$LAPTOPSCR #notify-send "Activating $LAPTOPSCR" }