mirror of
https://github.com/gotbletu/shownotes
synced 2024-11-15 00:12:53 +00:00
23 lines
652 B
Plaintext
23 lines
652 B
Plaintext
# this is notes for video: http://www.youtube.com/watch?v=sxwYmd8vadQ
|
|
|
|
|
|
# hotkey
|
|
------------
|
|
bash -c 'mateconftool-2 --type string --set /desktop/mate/background/picture_filename "$(find ~/Pictures/Wallpapers -type f | shuf -n1)"'
|
|
|
|
|
|
# note: the reason we are not using cron is because theres a bug in mateconftools/gconftools
|
|
# that doesnt allow it to, there is a workaround but alot of hassel
|
|
|
|
# script to auto change wallpaper
|
|
---------------------------------
|
|
#!/bin/bash
|
|
while true; do
|
|
|
|
# in seconds
|
|
sleep 3600
|
|
|
|
mateconftool-2 --type string --set /desktop/mate/background/picture_filename "$(find ~/Pictures/Wallpapers -type f | shuf -n1)"
|
|
|
|
done
|