From d6a1559119a712794fec3fc2cee10eb095675ed0 Mon Sep 17 00:00:00 2001 From: nnduc Date: Sat, 21 Feb 2026 03:02:56 +0700 Subject: [PATCH] systemd --- i3/config | 4 ++-- sway/config | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i3/config b/i3/config index 5237f5e..537b52c 100644 --- a/i3/config +++ b/i3/config @@ -27,11 +27,11 @@ exec --no-startup-id dex --autostart --environment i3 # they are included here as an example. Modify as you see fit. #exec --no-startup-id /usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the -# screen before suspend. Use loginctl lock-session to lock your screen. +# screen before suspend. Use systemctl lock-session to lock your screen. exec --no-startup-id xrand --output HDMI-0 --mode 1920x1080 --rate 120 bindsym $mod+l exec i3lock --ignore-empty-password -i $wallpaper -bindsym $mod+Shift+p exec loginctl poweroff +bindsym $mod+Shift+p exec systemctl poweroff bindsym Print exec flameshot gui -c # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. diff --git a/sway/config b/sway/config index 6e28831..c921512 100644 --- a/sway/config +++ b/sway/config @@ -145,7 +145,7 @@ bindsym $mod+Shift+c reload # Exit sway (logs you out of your Wayland session) #bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' -bindsym $mod+Shift+p exec loginctl poweroff +bindsym $mod+Shift+p exec systemctl poweroff bindsym $mod+Shift+l exec swaymsg exit # # Moving around: