move bin to /usr/local/bin and configs to .config
This commit is contained in:
		
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,11 +1,9 @@
 | 
			
		||||
# bthandler
 | 
			
		||||
# See LICENSE file for copyright and license details.
 | 
			
		||||
 | 
			
		||||
VERSION = 1.1
 | 
			
		||||
 | 
			
		||||
# paths
 | 
			
		||||
DESTDIR= ~/.local/bin
 | 
			
		||||
DATA_DIR = ~/.local/share/bt#if changed, needs adjustment in bt as well (defined in the beginning)
 | 
			
		||||
DESTDIR = /usr/local/bin
 | 
			
		||||
DATA_DIR = ~/.config/bt#if changed, needs adjustment in bt as well (defined in the beginning)
 | 
			
		||||
SRC = bt
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								bt
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								bt
									
									
									
									
									
								
							@@ -7,9 +7,9 @@ bar="dwmblocks"
 | 
			
		||||
barsignal="4"
 | 
			
		||||
 | 
			
		||||
#locations of blacklist and hard coded list of paired devices (watch out, need to modify Makefile as well if you want to change these values and still use make install)
 | 
			
		||||
BLACKLIST=${XDG_DATA_HOME:-$HOME/.local/share}/bt/blacklist
 | 
			
		||||
PAIRLIST=${XDG_DATA_HOME:-$HOME/.local/share}/bt/paired
 | 
			
		||||
ALIASLIST=${XDG_DATA_HOME:-$HOME/.local/share}/bt/alias
 | 
			
		||||
BLACKLIST=${XDG_CONFIG_HOMe:-$HOME/.config}/bt/blacklist
 | 
			
		||||
PAIRLIST=${XDG_CONFIG_HOME:-$HOME/.config}/bt/paired
 | 
			
		||||
ALIASLIST=${XDG_CONFIG_HOME:-$HOME/.config}/bt/alias
 | 
			
		||||
 | 
			
		||||
actions="$(printf 'pair\nunpair\n')"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user