Browse Source

make a new changing wallpaper script

master
tiynger 1 year ago
parent
commit
7d06fba274
32 changed files with 30 additions and 2 deletions
  1. BIN
      .config/wall.png
  2. +1
    -0
      .config/wallpaper/fri
  3. +1
    -0
      .config/wallpaper/mon
  4. BIN
      .config/wallpaper/ressources/fantasy/lavaballgrey.jpg
  5. BIN
      .config/wallpaper/ressources/fantasy/painingmainboard.png
  6. BIN
      .config/wallpaper/ressources/fantasy/paintingdesert.jpg
  7. BIN
      .config/wallpaper/ressources/landscape/drawingnightsky.png
  8. BIN
      .config/wallpaper/ressources/landscape/mtfuji.jpg
  9. BIN
      .config/wallpaper/ressources/minimal/gameoflife.png
  10. BIN
      .config/wallpaper/ressources/minimal/linepattern.png
  11. BIN
      .config/wallpaper/ressources/minimal/linuxtux.png
  12. BIN
      .config/wallpaper/ressources/minimal/minimalcolorstripes.png
  13. BIN
      .config/wallpaper/ressources/minimal/minimalmountain.png
  14. BIN
      .config/wallpaper/ressources/minimal/neurallink.png
  15. BIN
      .config/wallpaper/ressources/moon/.moonblack2.jpg.~3394f7c6
  16. BIN
      .config/wallpaper/ressources/moon/earthmoonblack.jpg
  17. BIN
      .config/wallpaper/ressources/moon/eclipseblack.jpg
  18. BIN
      .config/wallpaper/ressources/moon/moonblack.jpg
  19. BIN
      .config/wallpaper/ressources/pixel/pixelmoonpurple.png
  20. BIN
      .config/wallpaper/ressources/pixel/zeldadangerous.png
  21. BIN
      .config/wallpaper/ressources/space/minimalplanetblue.png
  22. BIN
      .config/wallpaper/ressources/space/minimalplanetsblue.jpg
  23. BIN
      .config/wallpaper/ressources/space/nebulablue.jpg
  24. BIN
      .config/wallpaper/ressources/space/spaceeye.jpg
  25. BIN
      .config/wallpaper/ressources/space/spacexduallanding.jpg
  26. BIN
      .config/wallpaper/ressources/sun/.minimalsungrey.jpg.~26e5e097
  27. +1
    -0
      .config/wallpaper/sat
  28. +1
    -0
      .config/wallpaper/sun
  29. +1
    -0
      .config/wallpaper/thu
  30. +1
    -0
      .config/wallpaper/tue
  31. +1
    -0
      .config/wallpaper/wed
  32. +23
    -2
      .local/bin/tools/setbg

BIN
.config/wall.png

Before After
Width: 3840  |  Height: 2160  |  Size: 2.6 MiB

+ 1
- 0
.config/wallpaper/fri

@ -0,0 +1 @@
ressources/pixel

+ 1
- 0
.config/wallpaper/mon

@ -0,0 +1 @@
ressources/fantasy

BIN
.config/wallpaper/ressources/fantasy/lavaballgrey.jpg

Before After
Width: 2880  |  Height: 1620  |  Size: 1.5 MiB

BIN
.config/wallpaper/ressources/fantasy/painingmainboard.png

Before After
Width: 1920  |  Height: 1080  |  Size: 4.6 MiB

BIN
.config/wallpaper/ressources/fantasy/paintingdesert.jpg

Before After
Width: 1920  |  Height: 1080  |  Size: 357 KiB

BIN
.config/wallpaper/ressources/landscape/drawingnightsky.png

Before After
Width: 1912  |  Height: 1080  |  Size: 1.2 MiB

BIN
.config/wallpaper/ressources/landscape/mtfuji.jpg

Before After
Width: 5120  |  Height: 2880  |  Size: 1.2 MiB

BIN
.config/wallpaper/ressources/minimal/gameoflife.png

Before After
Width: 2561  |  Height: 1601  |  Size: 23 KiB

BIN
.config/wallpaper/ressources/minimal/linepattern.png

Before After
Width: 2880  |  Height: 1800  |  Size: 138 KiB

BIN
.config/wallpaper/ressources/minimal/linuxtux.png

Before After
Width: 3840  |  Height: 2160  |  Size: 73 KiB

BIN
.config/wallpaper/ressources/minimal/minimalcolorstripes.png

Before After
Width: 2880  |  Height: 1800  |  Size: 160 KiB

BIN
.config/wallpaper/ressources/minimal/minimalmountain.png

Before After
Width: 2880  |  Height: 1800  |  Size: 54 KiB

BIN
.config/wallpaper/ressources/minimal/neurallink.png

Before After
Width: 3360  |  Height: 2100  |  Size: 1.5 MiB

BIN
.config/wallpaper/ressources/moon/.moonblack2.jpg.~3394f7c6

Before After
Width: 5676  |  Height: 3193  |  Size: 4.6 MiB

BIN
.config/wallpaper/ressources/moon/earthmoonblack.jpg

Before After
Width: 1920  |  Height: 1080  |  Size: 34 KiB

BIN
.config/wallpaper/ressources/moon/eclipseblack.jpg

Before After
Width: 3557  |  Height: 2371  |  Size: 236 KiB

BIN
.config/wallpaper/ressources/moon/moonblack.jpg

Before After
Width: 2960  |  Height: 1440  |  Size: 199 KiB

BIN
.config/wallpaper/ressources/pixel/pixelmoonpurple.png

Before After
Width: 2560  |  Height: 1500  |  Size: 578 KiB

BIN
.config/wallpaper/ressources/pixel/zeldadangerous.png

Before After
Width: 2560  |  Height: 1600  |  Size: 19 KiB

BIN
.config/wallpaper/ressources/space/minimalplanetblue.png

Before After
Width: 1920  |  Height: 1080  |  Size: 875 KiB

BIN
.config/wallpaper/ressources/space/minimalplanetsblue.jpg

Before After
Width: 2560  |  Height: 1600  |  Size: 79 KiB

BIN
.config/wallpaper/ressources/space/nebulablue.jpg

Before After
Width: 1920  |  Height: 1080  |  Size: 350 KiB

BIN
.config/wallpaper/ressources/space/spaceeye.jpg

Before After
Width: 3000  |  Height: 1694  |  Size: 814 KiB

BIN
.config/wallpaper/ressources/space/spacexduallanding.jpg

Before After
Width: 2880  |  Height: 1620  |  Size: 677 KiB

BIN
.config/wallpaper/ressources/sun/.minimalsungrey.jpg.~26e5e097

Before After
Width: 3840  |  Height: 2160  |  Size: 899 KiB

+ 1
- 0
.config/wallpaper/sat

@ -0,0 +1 @@
ressources/space

+ 1
- 0
.config/wallpaper/sun

@ -0,0 +1 @@
ressources/sun

+ 1
- 0
.config/wallpaper/thu

@ -0,0 +1 @@
ressources/moon

+ 1
- 0
.config/wallpaper/tue

@ -0,0 +1 @@
ressources/landscape

+ 1
- 0
.config/wallpaper/wed

@ -0,0 +1 @@
ressources/minimal

+ 23
- 2
.local/bin/tools/setbg

@ -1,4 +1,25 @@
#!/bin/sh #!/bin/sh
# Sets the background. If given an argument, will set file as background. # Sets the background. If given an argument, will set file as background.
[ ! -z "$1" ] && cp "$1" ~/.config/wall.png && notify-send -i "$HOME/.config/wall.png" "Wallpaper changed."
xwallpaper --zoom ~/.config/wall.png
if [ $(date | awk '{print $1}') = "Mon" ]; then
wallDir=~/.config/wallpaper/mon
fi
if [ $(date | awk '{print $1}') = "Tue" ]; then
wallDir=~/.config/wallpaper/tue
fi
if [ $(date | awk '{print $1}') = "Wed" ]; then
wallDir=~/.config/wallpaper/wed
fi
if [ $(date | awk '{print $1}') = "Thu" ]; then
wallDir=~/.config/wallpaper/thu
fi
if [ $(date | awk '{print $1}') = "Fri" ]; then
wallDir=~/.config/wallpaper/fri
fi
if [ $(date | awk '{print $1}') = "Sat" ]; then
wallDir=~/.config/wallpaper/sat
fi
if [ $(date | awk '{print $1}') = "Sun" ]; then
wallDir=~/.config/wallpaper/sun
fi
currWall=$wallDir/$(ls $wallDir | shuf -n 1)
xwallpaper --zoom $currWall

Loading…
Cancel
Save