From f74f5b88b7a2debcef836bae764d0cfddedea86b Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 29 Jun 2021 13:20:41 +0200 Subject: [PATCH] move bin to /usr/local/bin and configs to .config --- Makefile | 6 ++---- bt | 6 +++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index dbe0e85..452d2b6 100644 --- a/Makefile +++ b/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 diff --git a/bt b/bt index 5f45ed9..4230495 100755 --- a/bt +++ b/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')"