From ea8ff6d7638cdd1f36cc978f1734759158b969b0 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 5 Jun 2020 17:02:06 +0400 Subject: Initial commit --- .xprofile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .xprofile (limited to '.xprofile') diff --git a/.xprofile b/.xprofile new file mode 100644 index 0000000..093c162 --- /dev/null +++ b/.xprofile @@ -0,0 +1,11 @@ +xcompmgr -c -o 0 & +setxkbmap -layout us,ru -option "grp:alt_shift_toggle" +dunst & +dwmblocks & + +# Setup wallpaper +WP_DIR="$HOME/Pictures/Wallpapers/" +if [ -d "$WP_DIR" ]; then + WP=$( ls -l "$WP_DIR" | tail -n +2 | awk '{ print $9 }' | shuf | tail -n -1 ) + xwallpaper --zoom "$WP_DIR/$WP" +fi -- cgit v1.2.3