diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-30 20:34:39 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-30 20:34:39 -0400 |
commit | 583b8c4490ac03b7ee8e4cfedadaab1cb63b5488 (patch) | |
tree | aa20744da7ae848c51315dee12b905e105b948d6 /home | |
parent | fb45abc7a6d36fe36d4e9d0f09708fc5d5735bd4 (diff) |
moved xss-lock to .xinitrc and added hybrid-sleep
Diffstat (limited to 'home')
-rw-r--r-- | home/.config/i3/config | 6 | ||||
-rw-r--r-- | home/.xinitrc | 1 |
2 files changed, 2 insertions, 5 deletions
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 |