Not working form DWM window manager

Bug #1755257 reported by Vxzy684
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Variety
Fix Released
Wishlist
James Lu

Bug Description

DWM works similar to i3 in this case. DWM does not set the XDG envvars but a dilligent user would set those him/herself like:

export XDG_CURRENT_DESKTOP=dwm
export XDG_SESSION_DESKTOP="$XDG_CURRENT_DESKTOP"

so I suggest that we add to the set_wallpaper script this patch:

- if [ "$XDG_CURRENT_DESKTOP" == "i3" ] || [ "$XDG_SESSION_DESKTOP" == "i3" ]; then
+ if [ "$XDG_CURRENT_DESKTOP" == "i3" ] || [ "$XDG_SESSION_DESKTOP" == "i3" ] || [ "$XDG_CURRENT_DESKTOP" == "dwm" ] || [ "$XDG_SESSION_DESKTOP" == "dwm" ]; then
    feh --bg-fill "$WP" 2> /dev/null
fi

so it will work also for people using DWM, which is common among Arch Linux people.

Thanks

James Lu (jlu5)
Changed in variety:
status: New → In Progress
assignee: nobody → James Lu (tacocat)
importance: Undecided → Wishlist
Revision history for this message
James Lu (jlu5) wrote :

Hello,

Please try with this commit: https://github.com/varietywalls/variety/commit/721a55c77cce34d89ddc2b78b72552507a3db44d

This feature will be available in the next release.

Changed in variety:
status: In Progress → Fix Committed
Revision history for this message
Vxzy684 (vxzy684-deactivatedaccount-deactivatedaccount) wrote :

@James I tried this version of the scripts in my DWM desktop. It works!

Thanks!

ETA of next release?

James Lu (jlu5)
Changed in variety:
milestone: none → 0.6.7
James Lu (jlu5)
Changed in variety:
status: Fix Committed → Fix Released
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.