move wallpaper out of leftwm configuration files

This commit is contained in:
Arne Dußin 2025-03-27 15:18:57 +03:00
parent addd2e4158
commit 2aeb68cbe9
2 changed files with 5 additions and 4 deletions

View file

@ -29,7 +29,7 @@ leftwm-command "LoadTheme $SCRIPTPATH/theme.ron"
# Set background
if [ -x "$(command -v feh)" ]; then
feh --bg-scale $SCRIPTPATH/background.jpeg
feh --bg-scale $HOME/wallpapers/background
fi
# Boot dunst as notification daemon
@ -37,10 +37,11 @@ if [ -x "$(command -v dunst)" ]; then
dunst &> /dev/null &
fi
setxkbmap -layout us -variant dvp -option caps:escape -option compose:Muhenkan
# TODO: Remove this. It's in the nix config now
setxkbmap -layout us -variant dvp -option caps:escape -option compose:94
#open eww 'bar' windows
#this is a bit of an uggly hack, a more elegant way will hopefully be possible with a future `eww` version
# open eww 'bar' windows
# This is a bit of an ugly hack; a more elegant way will hopefully be possible with a future `eww` version
sleep 1
index=0
sizes=( $(leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d' ) )