aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 09:59:22 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 10:06:11 +1200
commit790231af98bfe3fabf3684eeb1b503e710ef915f (patch)
tree162fafaac4d712daa95377f6dc60fe6f8cb700fd
parentRemove misleading comment (diff)
downloaddotfiles-790231af98bfe3fabf3684eeb1b503e710ef915f.tar.gz
dotfiles-790231af98bfe3fabf3684eeb1b503e710ef915f.zip
Move x() shortcut to X11 directory and target
-rw-r--r--Makefile3
-rw-r--r--check/x.sh2
-rw-r--r--lint/x.sh2
-rw-r--r--x/shrc.d/x.sh (renamed from sh/shrc.d/x.sh)0
4 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f5f24446..9ec536db 100644
--- a/Makefile
+++ b/Makefile
@@ -678,7 +678,7 @@ install-wget: install-sh
mkdir -p -- $(XDG_CACHE_HOME)/wget $(XDG_CONFIG_HOME)/wget
cp -p -- wget/wgetrc $(XDG_CONFIG_HOME)/wget/wgetrc
-install-x: x/xsession check-x install-logrotate
+install-x: x/xsession check-x install-logrotate install-sh
mkdir -p -- \
$(HOME)/.xsession.d \
$(HOME)/.Xresources.d \
@@ -688,6 +688,7 @@ install-x: x/xsession check-x install-logrotate
cp -p -- x/Xresources $(HOME)/.Xresources
cp -p -- x/Xresources.d/* $(HOME)/.Xresources.d
cp -p -- x/logrotate/config.d/* $(XDG_CONFIG_HOME)/logrotate/config.d
+ cp -p -- x/shrc.d/*.sh $(HOME)/.shrc.d
install-yt-dlp install-youtube-dl:
mkdir -p -- $(XDG_CONFIG_HOME)/yt-dlp
diff --git a/check/x.sh b/check/x.sh
index d2ec1435..b3ed21ef 100644
--- a/check/x.sh
+++ b/check/x.sh
@@ -1 +1 @@
-sh -n -- x/xprofile x/xsession
+sh -n -- x/xprofile x/xsession x/shrc.d/*.sh
diff --git a/lint/x.sh b/lint/x.sh
index 070d0567..25fdf58d 100644
--- a/lint/x.sh
+++ b/lint/x.sh
@@ -1 +1 @@
-shellcheck -e SC1090 -e SC1091 -s sh -- x/xprofile x/xsession
+shellcheck -e SC1090 -e SC1091 -s sh -- x/xprofile x/xsession x/shrc.d/*.sh
diff --git a/sh/shrc.d/x.sh b/x/shrc.d/x.sh
index ed921c68..ed921c68 100644
--- a/sh/shrc.d/x.sh
+++ b/x/shrc.d/x.sh