diff options
-rw-r--r-- | home/.config/i3/config | 4 | ||||
-rw-r--r-- | src/etc/systemd/logind.conf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/home/.config/i3/config b/home/.config/i3/config index ea804d4..1aec065 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -24,9 +24,7 @@ bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 &&\ pactl set-card-profile 0 output:"hdmi-stereo-extra1"+input:analog-stereo # Hibernation -bindsym $mod+x exec systemctl suspend -bindsym $mod+Shift+x exec systemctl hibernate -bindsym $mod+Mod1+x exec systemctl hybrid-sleep +bindsym $mod+x exec systemctl hybrid-sleep # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. diff --git a/src/etc/systemd/logind.conf b/src/etc/systemd/logind.conf new file mode 100644 index 0000000..990f437 --- /dev/null +++ b/src/etc/systemd/logind.conf @@ -0,0 +1,2 @@ +HandleLidSwitch=hybrid-sleep +HandlePowerKey=hibernate |