rc: new bash alias and kakoune changes

This commit is contained in:
KK
2026-06-21 22:45:53 +02:00
parent b712c714cf
commit 50fcabcb3f
4 changed files with 21 additions and 0 deletions

15
bin/cafe Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
reason="caffe: keep system awake until this process exits"
echo "Caffe active. This terminal is inhibiting suspend."
echo "Press Ctrl+C or close this terminal to return to normal."
echo
exec systemd-inhibit \
--what=sleep:shutdown:idle \
--who="caffe" \
--why="$reason" \
--mode=block \
sleep infinity