aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2024-02-04 17:14:06 +0000
committerJustine Smithies <justine@smithies.me.uk>2024-02-04 17:14:06 +0000
commitc81757e417be869a6dbdc17d7858ca4770523ad1 (patch)
tree9beb9ed7c41df59432e233cb00d267513c8f60d8
parentd4dabd407c3a8680ad671607038c37c65dfdfb5e (diff)
Changes for Arch Linux - loginctl to sytemctl
-rwxr-xr-x.local/bin/powermenu8
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/powermenu b/.local/bin/powermenu
index aeded37..717f577 100755
--- a/.local/bin/powermenu
+++ b/.local/bin/powermenu
@@ -21,16 +21,16 @@ case $chosen in
$lock
;;
"$power_off")
- loginctl poweroff
+ systemctl poweroff
;;
"$reboot")
- loginctl reboot
+ systemctl reboot
;;
"$suspend")
- $lock && loginctl suspend
+ $lock && systemctl suspend
;;
"$hibernate")
- $lock && loginctl hibernate
+ $lock && systemctl hibernate
;;
"$log_out")
#swaymsg exit