From 4a4c3fc759bd922e7b7bf61fa1068ac471a4fb64 Mon Sep 17 00:00:00 2001 From: Thomas Schneider Date: Sun, 23 Jun 2019 18:17:15 +0200 Subject: i3: Replace XScreensaver with xss-lock and physlock --- dot.config-i3-config | 4 ++-- dot.xprofile | 3 +-- 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 & -- cgit v1.2.3