move bin to /usr/local/bin and configs to .config

This commit is contained in:
Alexander Bocken 2021-06-29 13:20:41 +02:00
parent b77d701595
commit f74f5b88b7
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 5 additions and 7 deletions

View File

@ -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
View File

@ -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')"