okraits / j4-make-config

Universal theme switcher and config generator for the i3 wm
http://www.okraits.de/index.php?section=projects&page=j4-make-config
186 stars 23 forks source link

Suggestion: remove i3-background, or make it possible to opt-out from it #20

Open thiagowfx opened 6 years ago

thiagowfx commented 6 years ago

There are several themes that set the desktop background to a solid color:

>> ack xsetroot
solarized_dark
36:exec_always --no-startup-id xsetroot -solid '$baseA2'

tango-light
48:exec_always --no-startup-id xsetroot -solid '#2E3436'

tango-dark
48:exec_always --no-startup-id xsetroot -solid '#2E3436'

wc8
10:exec --no-startup-id xsetroot -solid #3975A9

google
19:exec_always --no-startup-id xsetroot -solid '#2d2d2d'

debian
22:exec_always --no-startup-id xsetroot -solid '#000000'

dwm
10:exec_always --no-startup-id xsetroot -solid '#005577'

solarized_light
36:exec_always --no-startup-id xsetroot -solid '$baseA2'

gruvbox
12:exec_always --no-startup-id xsetroot -solid '#3c3836'

ubuntu
16:exec_always --no-startup-id xsetroot -solid '#542937'

tango-jungle
48:exec_always --no-startup-id xsetroot -solid '#2E3436'

tango
48:# exec_always --no-startup-id xsetroot -solid '#000000'

If the user chooses to use her own personal background instead, then these xsetroot lines effectively replace the original, user-chosen background with a solid color.

I wish there was an option to opt-out from automatically changing the background (well, one can always remove these lines manually, of course). I believe most users' use case for your project is to change colors and theme, but not the wallpaper.

Just my 2 cents. All the best,

D-Vaillant commented 6 years ago

+1 This seems like odd default behavior for sure.

Another possibility is having the theme assign to $bg and then creating an option to add: exec_always --no-startup-id xsetroot -solid '$bg' to the end of the Theme config file. (The variable name is not important here - we can make it $solidbackgroundcolorforwallpaper if we desire.)