aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--X/xsession.d/sxhkd.sh3
-rw-r--r--sxhkd/sxhkdrc (renamed from X/sxhkdrc)0
-rw-r--r--sxhkd/xsession.d/sxhkd.sh2
4 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 03e67b67..0093c771 100644
--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@
install-readline \
install-redshift \
install-sh \
+ install-sxhkd \
install-subversion \
install-systemd \
install-terminfo \
@@ -555,6 +556,11 @@ install-redshift: install-x
cp -p -- redshift/redshift.conf $(XDG_CONFIG_HOME)
cp -p -- redshift/xsession.d/* $(HOME)/.xsession.d
+install-sxhkd: install-x install-urxvt
+ mkdir -p -- $(XDG_CONFIG_HOME)/sxhkd
+ cp -p -- sxhkd/sxhkdrc $(XDG_CONFIG_HOME)/sxhkd
+ cp -p -- sxhkd/xsession.d/* $(HOME)/.xsession.d
+
install-sh: check-sh
mkdir -p -- $(HOME)/.profile.d $(HOME)/.shrc.d
cp -p -- sh/profile $(HOME)/.profile
@@ -636,10 +642,8 @@ install-wget: install-sh
install-x: check-xsession
mkdir -p -- \
- $(XDG_CONFIG_HOME)/sxhkd \
$(HOME)/.xsession.d \
$(HOME)/.Xresources.d
- cp -p -- X/sxhkdrc $(XDG_CONFIG_HOME)/sxhkd
cp -p -- X/xsession $(HOME)/.xsession
cp -p -- X/xsession.d/*.sh $(HOME)/.xsession.d
cp -p -- X/Xresources $(HOME)/.Xresources
diff --git a/X/xsession.d/sxhkd.sh b/X/xsession.d/sxhkd.sh
deleted file mode 100644
index 132d8f8a..00000000
--- a/X/xsession.d/sxhkd.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-# Start sxhkd(1)
-command -v sxhkd >/dev/null 2>&1 || return
-sxhkd &
diff --git a/X/sxhkdrc b/sxhkd/sxhkdrc
index c277855b..c277855b 100644
--- a/X/sxhkdrc
+++ b/sxhkd/sxhkdrc
diff --git a/sxhkd/xsession.d/sxhkd.sh b/sxhkd/xsession.d/sxhkd.sh
new file mode 100644
index 00000000..1b286c1f
--- /dev/null
+++ b/sxhkd/xsession.d/sxhkd.sh
@@ -0,0 +1,2 @@
+# Start sxhkd(1)
+sxhkd &