Add shared bin
This commit is contained in:
parent
a94b794c76
commit
7436e52200
9 changed files with 58 additions and 0 deletions
11
bin/wallpaper-rotate
Executable file
11
bin/wallpaper-rotate
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env tako
|
||||
|
||||
from datetime import datetime
|
||||
|
||||
image_dir = $HOME + '/images/wallpapers/BitDay/'
|
||||
hour = datetime.now().hour
|
||||
image_number = int(hour / 2)
|
||||
image_file = image_dir + '{}.png'.format(image_number)
|
||||
|
||||
ln -s -f @(image_file) @($HOME + '/images/wallpaper.png')
|
||||
nitrogen --restore
|
||||
Loading…
Add table
Add a link
Reference in a new issue