summaryrefslogtreecommitdiff
path: root/scripts/Scripts/lc
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2024-05-09 12:05:05 +0200
committerJulian T <julian@jtle.dk>2024-05-09 12:05:05 +0200
commit0066cbfc40878e5d6ad2b0d13c1e3600bd43318a (patch)
tree0e2cf575b79e03801abf839c2cf3e7f8af4b2029 /scripts/Scripts/lc
parentaa4f850a69acd73186eb1470a2ae425c663c4f8d (diff)
Gentoo changesHEADmastermain
Diffstat (limited to 'scripts/Scripts/lc')
-rwxr-xr-xscripts/Scripts/lc4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Scripts/lc b/scripts/Scripts/lc
index dba58f0..ed590e2 100755
--- a/scripts/Scripts/lc
+++ b/scripts/Scripts/lc
@@ -18,10 +18,10 @@ handle_stuff() {
fi
# POWER COMMANDS
if [ "$1" = "suspend" ]; then
- systemctl suspend
+ loginctl suspend
fi
if [ "$1" = "poweroff" ]; then
- poweroff
+ loginctl poweroff
fi
if [ "$1" = "lock" ]; then
$HOME/Scripts/lock.sh