From d3d3f4e1504b04885d47c710767b0b1e87935f9a Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 10 Jan 2020 15:28:32 +0100 Subject: [PATCH] use xss-lock & xautlock again --- bspwm/.config/bspwm/bspwmrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index e84a56f..0588215 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -7,8 +7,8 @@ SCREENCOUNT=$(xrandr | grep -c "\*") # If multi screen add special mode for monitor so it supports 1440p over HDMI if [ "$SCREENCOUNT" -eq 2 ]; then - bspc monitor DP-1 -d 2 3 4 5 6 7 8 9 10 - bspc monitor HDMI-2 -d 1 + bspc monitor DP-1 -d 2 3 4 5 6 7 8 9 10 + bspc monitor HDMI-2 -d 1 if [ -f "$HOME/.local/bin/screen_desktop" ]; then screen_desktop fi @@ -21,8 +21,8 @@ else screen fi if [ -f "$HOME/.local/bin/polybar-laptop" ]; then - polybar laptop-top & - polybar laptop-bottom & + polybar laptop-top & + polybar laptop-bottom & fi fi @@ -46,9 +46,12 @@ redshift-gtk & nm-applet & syncthing-gtk & gpodder & - spotify & +# system lock +xss-lock -n ~/.local/bin/lock -- ~/.local/bin/lock & +xautolock -time 10 -locker ~/.local/bin/lock & + if [ -e /usr/bin/firefox ]; then firefox & elif [ -e /usr/bin/iceweasel ]; then