From 583b8c4490ac03b7ee8e4cfedadaab1cb63b5488 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Thu, 30 Apr 2020 20:34:39 -0400 Subject: moved xss-lock to .xinitrc and added hybrid-sleep --- home/.config/i3/config | 6 +----- home/.xinitrc | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'home') diff --git a/home/.config/i3/config b/home/.config/i3/config index bfa1b48..050b631 100644 --- a/home/.config/i3/config +++ b/home/.config/i3/config @@ -10,7 +10,6 @@ # Please see https://i3wm.org/docs/userguide.html for a complete reference! set $mod Mod4 -set $lock i3lock --nofork -i ~/bg/sc.png -k bindsym --release Print exec scrot -fs @@ -25,6 +24,7 @@ bindsym $mod+$scr exec xrandr --output HDMI-2 --auto --right-of eDP-1 # Hibernation bindsym $mod+x exec systemctl suspend bindsym $mod+Shift+x exec systemctl hibernate +bindsym $mod+Mod1+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. @@ -37,10 +37,6 @@ font pango:monospace 8 # The combination of xss-lock, nm-applet and pactl is a popular choice, so # they are included here as an example. Modify as you see fit. -# 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. -exec --no-startup-id xss-lock --transfer-sleep-lock -- $lock - # 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/home/.xinitrc b/home/.xinitrc index b939658..a3c3920 100644 --- a/home/.xinitrc +++ b/home/.xinitrc @@ -1,4 +1,5 @@ picom -b +xss-lock -- i3lock --nofork -i ~/bg/sc.png -k setxkbmap -layout us -variant dvp -option caps:escape feh --bg-fill --no-fehbg ~/bg/sc.png exec i3 -- cgit