diff --git a/desktop/.config/river/init b/desktop/.config/river/init index bc27a86..ebe5863 100755 --- a/desktop/.config/river/init +++ b/desktop/.config/river/init @@ -242,6 +242,9 @@ done setxkbmap -option "compose:menu" +# start dynamic display configuration +[ "$(pidof kanshi)" -eq 0 ] || riverctl spawn kanshi + # set a nice wallpaper if exist swww; then riverctl spawn "swww init" @@ -258,10 +261,6 @@ fi killall waybar riverctl spawn waybar -# start dynamic display configuration -killall kanshi -riverctl spawn kanshi - # start redshift-like sundown warming using current location or standard values killall wlsunset loc=$(curl ipinfo.io | grep -e '"loc": ' | sed -e 's/^.*"loc": "\(.*\)",$/\1/')