diff options
Diffstat (limited to '.xprofile')
| -rw-r--r-- | .xprofile | 11 |
1 files changed, 11 insertions, 0 deletions
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 |