From 0f0409e3ffef48bd20b3aa31d03cb1ac6e35f385 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sat, 13 Jun 2020 11:52:33 -0400 Subject: cleanup, updated locking/autolocking --- toggle-docked.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'toggle-docked.sh') diff --git a/toggle-docked.sh b/toggle-docked.sh index 4e2cb89..beb0965 100755 --- a/toggle-docked.sh +++ b/toggle-docked.sh @@ -2,6 +2,8 @@ hasVGA=$(xrandr | grep VGA-0 | cut -w -f2) if [ "$hasVGA" = "connected" ]; then + killall xautolock + autolocker.sh -d & xrandr \ --output VGA-0 \ --mode 1024x768 \ @@ -23,6 +25,8 @@ if [ "$hasVGA" = "connected" ]; then --output DP-4 \ --off else + killall xautolock + autolocker.sh & xrandr \ --output VGA-0 \ --off \ -- cgit v1.2.3