conky 1.8.1 i486

Post links to your 32-bit module repos here. Repo maintainers are responsible for resolving any issues caused by their xzm's.
Post Reply
Kriss
Samurai
Samurai
Posts: 133
Joined: 06 Jul 2011, 07:07
Location: Russia

conky 1.8.1 i486

Post#1 by Kriss » 16 Nov 2011, 20:20

Click
Dependencies:
If you don't want to see black rectangle, you'll need feh (and it requires giblib and imlib2)
Configuration file can be taken from x86_64 topic.
Just replace this line after TEXT:

Code: Select all

${texeci 24 feh --bg-fill "`grep 'wallpaper=/' ~/.kde4/share/config/plasma-desktop-appletsrc | sed  's/wallpaper=//' | sed q`"}
with this:

Code: Select all

${if_match "${execi 24 grep 'WallpaperMode=' ~/.kde/share/config/kdesktoprc | grep -v MultiWallpaperMode | tail +15c}" == "ScaleAndCrop" }${texeci 24 feh --bg-fill "`grep 'Wallpaper\[$e\]=' ~/.kde/share/config/kdesktoprc | sed  's/Wallpaper\[$e\]=//' | sed q`"}${endif}${if_match "${execi 24 grep 'WallpaperMode=' ~/.kde/share/config/kdesktoprc | grep -v MultiWallpaperMode | tail +15c }" == "Centred" }${texeci 24 feh --bg-center "`grep 'Wallpaper\[$e\]=' ~/.kde/share/config/kdesktoprc | sed  's/Wallpaper\[$e\]=//' | sed q`"}${endif}${if_match "${execi 24 grep 'WallpaperMode=' ~/.kde/share/config/kdesktoprc | grep -v MultiWallpaperMode | tail +15c }" == "Tiled" }${texeci 24 feh --bg-tile "`grep 'Wallpaper\[$e\]=' ~/.kde/share/config/kdesktoprc | sed  's/Wallpaper\[$e\]=//' | sed q`"}${endif}${if_match "${execi 24 grep 'WallpaperMode=' ~/.kde/share/config/kdesktoprc | grep -v MultiWallpaperMode | tail +15c }" == "Scaled" }${texeci 24 feh --bg-scale "`grep 'Wallpaper\[$e\]=' ~/.kde/share/config/kdesktoprc | sed  's/Wallpaper\[$e\]=//' | sed q`"}${endif}${if_match "${execi 24 grep 'WallpaperMode=' ~/.kde/share/config/kdesktoprc | grep -v MultiWallpaperMode | tail +15c }" == "CentredMaxpect" }${texeci 24 feh --bg-max "`grep 'Wallpaper\[$e\]=' ~/.kde/share/config/kdesktoprc | sed  's/Wallpaper\[$e\]=//' | sed q`"}${endif}
Works with "Scale and Crop", "Centered", "Tiled", "Scaled" and "Centered Maxpect" (only with black background color) wallpaper modes.
Suggestions/corrections/additions are always welcome.

Post Reply