Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177885867
D60497.1795515900.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
D60497.1795515900.diff
View Options
diff --git a/GIDs b/GIDs
--- a/GIDs
+++ b/GIDs
@@ -343,7 +343,7 @@
linkwarden:*:399:
evcc:*:400:
spectrumknx:*:401:
-# free: 402
+lid_switchd:*:402:
# free: 403
# free: 404
# free: 405
diff --git a/x11/Makefile b/x11/Makefile
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -29,6 +29,7 @@
SUBDIR += bgrot
SUBDIR += bgs
SUBDIR += bhotkeys
+ SUBDIR += bhotkeys-lid-state
SUBDIR += bhotkeys-lock
SUBDIR += bhotkeys-mate
SUBDIR += bhotkeys-media
diff --git a/x11/bhotkeys-lid-state/Makefile b/x11/bhotkeys-lid-state/Makefile
new file mode 100644
--- /dev/null
+++ b/x11/bhotkeys-lid-state/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= bhotkeys-lid-state
+DISTVERSION= 1.3.1
+CATEGORIES= x11
+
+MAINTAINER= dteske@FreeBSD.org
+COMMENT= Super+Z lid stay-awake hotkey for bhotkeys
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= bhotkeys:x11/bhotkeys \
+ bosd:x11/bosd
+
+USE_GITHUB= yes
+GH_ACCOUNT= FrauBSD
+GROUPS= lid_switchd
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/lid-switchd
+
+.include <bsd.port.mk>
diff --git a/x11/bhotkeys-lid-state/distinfo b/x11/bhotkeys-lid-state/distinfo
new file mode 100644
--- /dev/null
+++ b/x11/bhotkeys-lid-state/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1791646074
+SHA256 (FrauBSD-bhotkeys-lid-state-1.3.1_GH0.tar.gz) = 674674e29b1c7db981f669707834f47f1b21f110aefcaead78893a71dde74327
+SIZE (FrauBSD-bhotkeys-lid-state-1.3.1_GH0.tar.gz) = 13739
diff --git a/x11/bhotkeys-lid-state/pkg-descr b/x11/bhotkeys-lid-state/pkg-descr
new file mode 100644
--- /dev/null
+++ b/x11/bhotkeys-lid-state/pkg-descr
@@ -0,0 +1,3 @@
+Super+Z lid stay-awake hotkey for bhotkeys. lid-switchd holds
+hw.acpi.lid_switch_state so the session can change it without
+running as root. bosd draws the lid glyph.
diff --git a/x11/bhotkeys-lid-state/pkg-plist b/x11/bhotkeys-lid-state/pkg-plist
new file mode 100644
--- /dev/null
+++ b/x11/bhotkeys-lid-state/pkg-plist
@@ -0,0 +1,8 @@
+bin/lid-policy
+bin/lid-wake-toggle
+etc/rc.d/lid-switchd
+sbin/lid-switchd
+share/bhotkeys/plugins.d/lid
+share/man/man1/lid-policy.1.gz
+share/man/man1/lid-wake-toggle.1.gz
+share/man/man8/lid-switchd.8.gz
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 24, 10:25 AM (8 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41952522
Default Alt Text
D60497.1795515900.diff (2 KB)
Attached To
Mode
D60497: x11/bhotkeys-lid-state: New port
Attached
Detach File
Event Timeline