Variable for scriptpath
This commit is contained in:
		
							
								
								
									
										4
									
								
								motd.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								motd.sh
									
									
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
# Fancy waifu motd
 | 
			
		||||
 | 
			
		||||
MOTDPATH="$HOME/.motd"          # path to motd folder
 | 
			
		||||
MOTDPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"          # path to motd folder
 | 
			
		||||
CACHEFILE="/tmp/waifu.cache"          # to cache waifu state
 | 
			
		||||
RESOLUTION=256                        # resolution of waifu
 | 
			
		||||
CENTER=true                           # center motd?
 | 
			
		||||
@@ -73,5 +73,3 @@ function output() {
 | 
			
		||||
  fi
 | 
			
		||||
  output $LOLCAT $CENTER
 | 
			
		||||
# fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user