summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorVlad Glagolev2019-04-07 18:11:47 +0000
committerVlad Glagolev2019-04-07 18:11:47 +0000
commit4fd211e5698c8a0b775a7139b22f55fc4be47d4f (patch)
tree83f0b3e063d34ba9f9b2b439413cc95df4e1a068 /x11
parent496748227436f74b1c3d3d0f65e6224299fcecad (diff)
xplugd: new spell, monitor, keyboard, and mouse plug/unplug helper for X
Diffstat (limited to 'x11')
-rwxr-xr-xx11/xplugd/DEPENDS3
-rwxr-xr-xx11/xplugd/DETAILS18
-rw-r--r--x11/xplugd/HISTORY2
3 files changed, 23 insertions, 0 deletions
diff --git a/x11/xplugd/DEPENDS b/x11/xplugd/DEPENDS
new file mode 100755
index 0000000000..a2cfbe34f2
--- /dev/null
+++ b/x11/xplugd/DEPENDS
@@ -0,0 +1,3 @@
+depends libx11 &&
+depends libxrandr &&
+depends libxi
diff --git a/x11/xplugd/DETAILS b/x11/xplugd/DETAILS
new file mode 100755
index 0000000000..39b94854f4
--- /dev/null
+++ b/x11/xplugd/DETAILS
@@ -0,0 +1,18 @@
+ SPELL=xplugd
+ VERSION=1.3
+ SOURCE=${SPELL}-${VERSION}.tar.xz
+ SOURCE_URL[0]=https://github.com/troglobit/${SPELL}/releases/download/v${VERSION}/${SOURCE}
+ SOURCE_HASH=sha512:8be3cb7774d2a2e44c9910fea779ccbbf9fd6b3dfcda7457d1974b00bb6237a64e49f8f0d2c9cc5aafaafcb8b2d639084d5cef85c99e4c28ccf1414ba06a9f89
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE=https://github.com/troglobit/xplugd
+ LICENSE[0]=MIT
+ ENTERED=20190407
+ SHORT="monitor, keyboard, and mouse plug/unplug helper for X"
+cat << EOF
+xplugd is a UNIX daemon that executes a script on X input and RandR changes,
+i.e., when a, keyboard, mouse. or a monitor is plugged in or unplugged.
+
+Useful in combination with lightweight setups, e.g. when running an X window
+manager like Awesome, Fluxbox, or similar to detect when docking or undocking
+a laptop.
+EOF
diff --git a/x11/xplugd/HISTORY b/x11/xplugd/HISTORY
new file mode 100644
index 0000000000..5623a761a2
--- /dev/null
+++ b/x11/xplugd/HISTORY
@@ -0,0 +1,2 @@
+2019-04-07 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS: created spell, version 1.3