This commit is contained in:
Luca 2022-11-22 13:25:44 +01:00
parent 8268fba83d
commit 7ed2a6e110
9565 changed files with 1315332 additions and 90 deletions

20
home/.local/bin/scripts/chwall Executable file
View file

@ -0,0 +1,20 @@
#!/bin/sh
# Wallpaper Directory :
walldir="/mnt/Data/Pictures/Wallpaper/"
# Choose Wallpaper Dirs :
chosen="$(echo -e "$(ls $walldir | rofi -dmenu -i -selected-row 1 -p "Choose a Dir :" )")"
# Choose Wallpaper :
chosenwall="$(echo -e "$(ls $walldir$chosen/ | rofi -dmenu -i -selected-row 1 -p "Choose a Wallpaper :" )")"
# Set Wallpaper :
wallset=$(feh --bg-fill "$walldir$chosen/$chosenwall")
#echo "feh --bg-fill $walldir$chosen/$chosenwall &" >> ~/.xprofile
# xprofile :
sed -i "/\# Wallpaper :/a feh --bg-fill $walldir$chosen/$chosenwall &" ~/.xprofile
# xinitrc :
sed -i "/\# Wallpaper :/a feh --bg-fill $walldir$chosen/$chosenwall &" ~/.xinitrc