Skip to content

This script allows you to switch between two different wallpapers and was designed for use with sxhkd

License

Notifications You must be signed in to change notification settings

JnBenites/switch-wallpaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

switch-wallpaper

This script allows you to switch between two different wallpapers and was designed for use with sxhkd.

Dependencies
feh wallpaper1 wallpaper2

Recurso-1-animales.png

How to use

  • clone this repository
git clone https://github.com/JnBenites/switch-wallpaper
  • enter the switch-wallpaper folder
cd switch-wallpaper
  • give execution permission to the script
chmod +x ./switch-wallpaper.sh
  • create folder to store wallpapers
mkdir $HOME/.config/wallpaper
  • add two images that have the same extension wallpaper1 and wallpaper2 to the .wallpaper folder
wallpaper1.png, wallpaper2.png
  • define the wallpapers folder and images extension in switch-wallpaper.sh
image_location=$HOME/.config/wallpaper
image_extension=png
  • test the script
./switch-wallpaper.sh

Example of use with sxhkd

alt + w

$HOME/.config/scripts/switch-wallpaper.sh

About

This script allows you to switch between two different wallpapers and was designed for use with sxhkd

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages