From 91a1b14d8e4ffbaa80b95923d7707f4df40483d9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Fri, 23 Jan 2026 14:50:26 +0100 Subject: update --- buttons | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 buttons (limited to 'buttons') diff --git a/buttons b/buttons new file mode 100755 index 0000000..f4c2106 --- /dev/null +++ b/buttons @@ -0,0 +1,15 @@ +#!/bin/sh + +xmessage -buttons reboot,suspend,poweroff "$@" "" + +case "$?" in + 101) + /usr/bin/loginctl reboot + ;; + 102) + /usr/bin/loginctl suspend + ;; + 103) + /usr/bin/loginctl poweroff + ;; +esac -- cgit v1.2.3