New Setup 📦

This commit is contained in:
Luca 2023-02-05 05:02:49 +01:00
parent d16174b447
commit 415dbd08a1
10194 changed files with 1368647 additions and 4 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