barrierc: specify server
This commit is contained in:
		
							parent
							
								
									7555b91fdf
								
							
						
					
					
						commit
						d119404ae4
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -1,4 +1,11 @@ | |||
| #!/bin/zsh | ||||
| if [[ ! -e ${0:a:h}/server ]] then | ||||
| 	<<-ERROR | ||||
| 	Service requires configuration! | ||||
| 	Create \`${0:a:h}/server\` containing the target server name | ||||
| 	ERROR | ||||
| 	exit 1 | ||||
| fi | ||||
| source ${0:a:h:h}/import-env.zsh | ||||
| import-env awesome | ||||
| exec barrierc --no-daemon | ||||
| exec barrierc --no-daemon $(<${0:a:h}/server) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 crater2150
						crater2150