diff options
| author | Andrew <saintruler@gmail.com> | 2020-06-05 17:02:06 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-06-05 17:02:06 +0400 |
| commit | ea8ff6d7638cdd1f36cc978f1734759158b969b0 (patch) | |
| tree | 18893c91594a2d58bb6757f592a076c5496e300e /.xprofile | |
Initial commit
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 |