Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Commit

Permalink
fixing wallpaper doesn't change
Browse files Browse the repository at this point in the history
  • Loading branch information
reorr committed Nov 9, 2017
1 parent 842980a commit f80768d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xfcolorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def rgb_to_hex(rgb):
init_file = open( 'wallpaper.sh', 'w' )
init_file.writelines( [ '#!/bin/bash\n', 'wallpaper=' + args.image[0] + '&&'] )
init_file.writelines( [ 'properties=$(xfconf-query ', '-c ', 'xfce4-desktop ', '-p ', '/backdrop ', '-l ', '| ', 'grep ', '-e ', '"screen.*/monitor.*image-path$" ', '-e ', '"screen.*/monitor.*/last-image$") ', '&& '])
init_file.writelines( [ 'for ', 'property ', 'in ', '$properties; ', 'do ', 'xfconf-query ', '-c ', 'xfce4-desktop ', '-p ', '$property ', '-s ', '"$wallpaperpaper"; ', 'done'])
init_file.writelines( [ 'for ', 'property ', 'in ', '$properties; ', 'do ', 'xfconf-query ', '-c ', 'xfce4-desktop ', '-p ', '$property ', '-s ', '"$wallpaper"; ', 'done'])
init_file.close()
subprocess.Popen( [ 'chmod', '+x', './color.sh' ] )
subprocess.Popen( [ 'chmod', '+x', './wallpaper.sh' ] )
Expand Down

0 comments on commit f80768d

Please sign in to comment.