new sway config and i3 config
This commit is contained in:
10
i3/random-wallpaper
Executable file
10
i3/random-wallpaper
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
WALLPAPER_DIR=~/Pictures/wallpapers
|
||||
|
||||
if [ ! -z "$1" ]; then
|
||||
WALLPAPER_DIR="$1"
|
||||
fi
|
||||
|
||||
feh --bg-fill "$WALLPAPER_DIR/$(ls $WALLPAPER_DIR | sort -R | head -n1)"
|
||||
|
||||
Reference in New Issue
Block a user