This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
folder=$1 #store the first given arguement to folder | |
seconds=$2 #store the second given arguement to seconds | |
if [ $1 == "kill" ] # if the first arguement is "kill" then kill the script wallpaperslideshow.sh | |
then | |
killall wallpaperslideshow.sh # kills the script wallpaperslideshow.sh | |
else # else run the following | |
while [ true ] # creates a infinite loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
##PLEASE BACKUP YOUR OPENBOX XML FILE BEFORE USING THIS SCRIPT. | |
##THIS IS A SAFETY MEASURE IN THE EVENT THAT THE SCRIPT FAILS TO EXECUTE CORRECTLY! | |
##This script reads the desktop shortcuts from the panel file and adds up to 9 shortcuts to the openbox xml file. | |
##Allowing you to use super+1/9 to open applications from your panel using the keyboard | |
##Instructions: To apply shortcuts: "./supershortcuts.sh /path/to/panel/file /path/to/openbox/config/xml/file | |
##To get rid of the shortcuts again simply type: "./supershortcuts.sh remove /path/to/openbox/config/xml/file |