From 40f02bc8088ca93224bf65f083c4ab3b17eaf435 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Fri, 9 Aug 2024 20:48:10 -0500 Subject: move gentoo into subdirectory --- gentoo/.config/sway/poweraction.org | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gentoo/.config/sway/poweraction.org (limited to 'gentoo/.config/sway/poweraction.org') diff --git a/gentoo/.config/sway/poweraction.org b/gentoo/.config/sway/poweraction.org new file mode 100644 index 0000000..68105ca --- /dev/null +++ b/gentoo/.config/sway/poweraction.org @@ -0,0 +1,9 @@ +#+title: Sway Power Action Script +Run this shell script from power off menu to either log off, restart, or power off. +#+begin_src sh :tangle ~/.config/sway/poweraction :mkdirp yes + rm ~/.swaynaglock + case $1 in + logout) swaymsg exit;; + ,*) doas "/sbin/$1";; + esac +#+end_src -- cgit v1.2.3