Update .config/sway/config
Update .config/sway/scripts/wallpaper_rotate.py
This commit is contained in:
parent
f6b05b717a
commit
d1ea31ce30
2 changed files with 6 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ bindsym XF86AudioPrev exec playerctl previous
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
#output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
#output * bg $wallpaper fill
|
#output * bg $wallpaper fill
|
||||||
|
exec matugen image ~/Pictures/Wallpapers/door.jpg --mode dark
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
@ -265,7 +266,7 @@ bar {
|
||||||
#}
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
exec python3 ~/.config/sway/scripts/wallpaper_rotate.py
|
#exec python3 ~/.config/sway/scripts/wallpaper_rotate.py
|
||||||
exec mako
|
exec mako
|
||||||
exec steam
|
exec steam
|
||||||
exec ticktick
|
exec ticktick
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,8 @@ while True:
|
||||||
#matugen image $wallpaper --mode "dark"
|
#matugen image $wallpaper --mode "dark"
|
||||||
wallpaper_rotate_command = subprocess.call(["matugen","image",random_wallpaper_location,"--mode","dark"])
|
wallpaper_rotate_command = subprocess.call(["matugen","image",random_wallpaper_location,"--mode","dark"])
|
||||||
|
|
||||||
|
if len(unused_wallpapers) == 0:
|
||||||
|
unused_wallpapers = used_wallpapers.copy()
|
||||||
|
used_wallpapers = []
|
||||||
|
|
||||||
time.sleep(300)
|
time.sleep(300)
|
||||||
Loading…
Reference in a new issue