New configuration based on xfce4 + bpswm. No more tint2

This commit is contained in:
2024-06-29 18:25:01 -06:00
parent e06469f47b
commit 72ae9f6ce7
40 changed files with 1560 additions and 252 deletions

16
scripts/xfce4-le-wallpaper Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/env bash
monitors=($(xrandr | grep " connected " | awk '{ print$1 }'))
monitor="${monitors[0]}"
prop="/backdrop/screen0/monitor${monitor}/workspace0/last-image"
wallpaper_dir="$HOME/.local/share/le_wallpaper"
wallpaper_path="${wallpaper_dir}/wallpaper.png"
feh --bg-scale "$wallpaper_path"
xfconf-query -c xfce4-desktop -p "$prop" -m | while read -r line; do
if echo "$line" | grep -e "^set:"; then
echo "Wallpaper updated, reacting"
le-wallpaper
fi
done