aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <qsx@qsx.re>2019-06-23 18:17:15 +0200
committerThomas Schneider <qsx@qsx.re>2019-06-23 18:17:15 +0200
commit4a4c3fc759bd922e7b7bf61fa1068ac471a4fb64 (patch)
treeb1e2effc289dad54a6c15b95e2758ace4cf1257c
parent9dbe18d6790ee9f87214b878a3deae55902c8667 (diff)
i3: Replace XScreensaver with xss-lock and physlock
-rw-r--r--dot.config-i3-config4
-rw-r--r--dot.xprofile3
2 files changed, 3 insertions, 4 deletions
diff --git a/dot.config-i3-config b/dot.config-i3-config
index f7c87e9..aa76aa3 100644
--- a/dot.config-i3-config
+++ b/dot.config-i3-config
@@ -147,12 +147,12 @@ bindsym $mod+a mode "resize"
# position top
#}
-set $lockcommand xscreensaver-command -lock
+set $lockcommand loginctl lock-session
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
bindsym $mod+Escape exec $lockcommand
-bindsym XF86Sleep exec $lockcommand, exec systemctl suspend
+bindsym XF86Sleep exec systemctl suspend
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
diff --git a/dot.xprofile b/dot.xprofile
index e4fb82c..35340e2 100644
--- a/dot.xprofile
+++ b/dot.xprofile
@@ -4,8 +4,7 @@ if [ -z $XPROFILE_RUN ]; then
export GDK_SCALE=2
xrandr --dpi 192
[ -f ~/.fehbg ] && ~/.fehbg
- xscreensaver -no-splash &
- xscreensaver-dunst-watch &
+ xss-lock -- physlock -p "Locked by: $USER" -s -m &
nm-applet &
redshift-gtk &
nextcloud &