From c7a88c31792fb2ec65b446c6562e36aca00c0618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sat, 12 Apr 2014 00:32:13 +0200 Subject: [PATCH] Enable fallback wallpaper mode. Works only with the new version of wallchanger. Does not do any resolution checks, so you will get a random image which might not really fit your resolution. It's fallback after all :) --- i3/i3/config | 3 ++- i3/i3/data/{ => lockscreen}/lockscreen_1024x600.png | Bin .../data/{ => lockscreen}/lockscreen_1920x1080.png | Bin i3/i3/data/wallpaper | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) rename i3/i3/data/{ => lockscreen}/lockscreen_1024x600.png (100%) rename i3/i3/data/{ => lockscreen}/lockscreen_1920x1080.png (100%) create mode 120000 i3/i3/data/wallpaper diff --git a/i3/i3/config b/i3/i3/config index 8c7375c..6ac24bb 100644 --- a/i3/i3/config +++ b/i3/i3/config @@ -43,6 +43,7 @@ set $path_wallchanger ~/.i3/scripts/wallchanger.bash set $wallpaper_directory "$HOME/Bilder/wallpaper/misc" set $wallpaper_logfile "$HOME/.i3/logs/wallpaper.log" + set $wallpaper_fallback "$HOME/.i3/data/wallpaper/" set $wallpaper_interval 900 set $workspace1 1:www @@ -300,7 +301,7 @@ set $redshift_lat_long 49.5:11 set $redshift_colortemp 5500:3700 - exec --no-startup-id $path_wallchanger $wallpaper_directory $wallpaper_interval > $wallpaper_logfile & + exec --no-startup-id $path_wallchanger $wallpaper_directory $wallpaper_interval $wallpaper_fallback > $wallpaper_logfile & exec --no-startup-id wicd-gtk --tray & exec --no-startup-id gtk-redshift -l $redshift_lat_long -t $redshift_colortemp & #exec --no-startup-id conky diff --git a/i3/i3/data/lockscreen_1024x600.png b/i3/i3/data/lockscreen/lockscreen_1024x600.png similarity index 100% rename from i3/i3/data/lockscreen_1024x600.png rename to i3/i3/data/lockscreen/lockscreen_1024x600.png diff --git a/i3/i3/data/lockscreen_1920x1080.png b/i3/i3/data/lockscreen/lockscreen_1920x1080.png similarity index 100% rename from i3/i3/data/lockscreen_1920x1080.png rename to i3/i3/data/lockscreen/lockscreen_1920x1080.png diff --git a/i3/i3/data/wallpaper b/i3/i3/data/wallpaper new file mode 120000 index 0000000..0c46340 --- /dev/null +++ b/i3/i3/data/wallpaper @@ -0,0 +1 @@ +lockscreen \ No newline at end of file