Call common script, moved icons to common script, removed unnecessary aliases from common (let's add them only when there are conflicts), made sure plays along with shellcheck
This commit is contained in:
		
							parent
							
								
									32c4cb6682
								
							
						
					
					
						commit
						f4ba3978c9
					
				
					 12 changed files with 241 additions and 421 deletions
				
			
		| 
						 | 
				
			
			@ -1,13 +1,10 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
LOGDIR="$XDG_DATA_HOME"/sxmo/modem
 | 
			
		||||
NOTIFDIR="$XDG_DATA_HOME"/sxmo/notifications
 | 
			
		||||
ALSASTATEFILE="$XDG_CACHE_HOME"/precall.alsa.state
 | 
			
		||||
CACHEDIR="$XDG_CACHE_HOME"/sxmo
 | 
			
		||||
trap "gracefulexit" INT TERM
 | 
			
		||||
 | 
			
		||||
DIR=$(dirname "$0")
 | 
			
		||||
# shellcheck source=./sxmo_icons.sh
 | 
			
		||||
. "$DIR/sxmo_icons.sh"
 | 
			
		||||
# include common definitions
 | 
			
		||||
# shellcheck source=scripts/core/sxmo_common.sh
 | 
			
		||||
. "$(dirname "$0")/sxmo_common.sh"
 | 
			
		||||
 | 
			
		||||
modem_n() {
 | 
			
		||||
	MODEMS="$(mmcli -L)"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue