diff options
| author | 2026-05-13 13:43:12 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:12 +0100 | |
| commit | 2fbb87210468ace88ee1749116d1763df52e8a73 (patch) | |
| tree | 5eaebda58ea2ffb0424dc49b60cbe4ac624d0194 | |
| parent | 84401fd39cbfc0bc3bc1ba5d34b731131cfd924d (diff) | |
| download | dotfiles-2fbb87210468ace88ee1749116d1763df52e8a73.tar.gz dotfiles-2fbb87210468ace88ee1749116d1763df52e8a73.tar.bz2 dotfiles-2fbb87210468ace88ee1749116d1763df52e8a73.zip | |
feat(getty): blank VT and powerdown monitor on idle
setterm only affects the Linux console (TERM=linux); sway's KMS/DRM
session is unaffected. Wakes on any keypress.
| -rw-r--r-- | etc/systemd/system/getty@.service.d/blank.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/systemd/system/getty@.service.d/blank.conf b/etc/systemd/system/getty@.service.d/blank.conf new file mode 100644 index 0000000..719fbbd --- /dev/null +++ b/etc/systemd/system/getty@.service.d/blank.conf @@ -0,0 +1,2 @@ +[Service] +ExecStartPre=/bin/sh -c 'setterm --blank 5 --powerdown 10 >/dev/tty%I' |
