diff options
| author | Thomas Schneider <qsx@qsx.re> | 2019-06-23 18:17:15 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@qsx.re> | 2019-06-23 18:17:15 +0200 |
| commit | 4a4c3fc759bd922e7b7bf61fa1068ac471a4fb64 (patch) | |
| tree | b1e2effc289dad54a6c15b95e2758ace4cf1257c | |
| parent | 9dbe18d6790ee9f87214b878a3deae55902c8667 (diff) | |
i3: Replace XScreensaver with xss-lock and physlock
| -rw-r--r-- | dot.config-i3-config | 4 | ||||
| -rw-r--r-- | 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 & |
