aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-08-13 20:44:40 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-08-13 20:44:40 +0200
commitfa2645d08b4b2b0319304d6df9d120b14115358a (patch)
treebb58b5a9efda36e2074102658c7e2a1c5bd6314c /.xinitrc
parent481d529d0d786184f6ce5c26a856f4819cda010d (diff)
downloaddotfiles-fa2645d08b4b2b0319304d6df9d120b14115358a.tar.gz
bg
Diffstat (limited to '.xinitrc')
-rw-r--r--.xinitrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
index bd02a65..9ffa99f 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -14,6 +14,16 @@ fi
#eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
#export SSH_AUTH_LOCK
+#Screen background feh
+shopt -s nullglob
+
+pics=(~/vimconfig/pictures/b_*)
+#echo $pics
+len=${#pics[*]}
+ran=$(($RANDOM % len))
+
+feh --bg-fill ${pics[$ran]}
+
# exec gnome-session
#exec startkde
exec i3