This commit is contained in:
Stephan Raabe
2023-03-24 15:31:45 +01:00
parent 69a4039c93
commit 85ef052463
3 changed files with 50 additions and 4 deletions

22
scripts/wallpaper.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# __ __ _ _
# \ \ / /_ _| | |_ __ __ _ _ __ ___ _ __
# \ \ /\ / / _` | | | '_ \ / _` | '_ \ / _ \ '__|
# \ V V / (_| | | | |_) | (_| | |_) | __/ |
# \_/\_/ \__,_|_|_| .__/ \__,_| .__/ \___|_|
# |_| |_|
#
# by Stephan Raabe (2023)
# -----------------------------------------------------
# Select wallpaper
selected=$(ls -1 ~/wallpaper | rofi -dmenu -p "Select the wallpaper")
# Update wallpaper with pywal
wal -q -i ~/wallpaper/$selected
# Wait for 1 sec
sleep 1
# Reload qtile to color bar
qtile cmd-obj -o cmd -f reload_config