summaryrefslogtreecommitdiffstats
path: root/.local/bin/changewallpaper
blob: 45636f2848f7a2ca98639fab6851e223ff389677 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

#Description: Used to change your wallpaper and theme.

#Axioms: WALLPAPERS

#Dependencies: https://github.com/dylanaraps/pywal

curwal=$(find /home/$USER//Pictures/wallpapers/* -type f | shuf | head -1)
/home/$USER/.local/bin/wal -i "$curwal"
echo "$curwal" > /tmp/curwal