new sway config and i3 config

This commit is contained in:
Dan MacLeod
2024-04-13 21:46:03 +09:30
parent b7d13ea088
commit e4e9b4f7d8
6 changed files with 578 additions and 23 deletions

10
i3/random-wallpaper Executable file
View 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)"