Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175474753
D60497.id189400.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D60497.id189400.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
Mon, Oct 12, 3:20 AM (1 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40644943
Default Alt Text
D60497.id189400.diff (2 KB)
Attached To
Mode
D60497: x11/bhotkeys-lid-state: New port
Attached
Detach File
Event Timeline
Log In to Comment