From 4ca410cb89d44b85bf0ac5413915e35ff460e4d2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 6 Nov 2023 00:44:47 +0530 Subject: added betterlockscreen --- .scripts/screenrefresh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 .scripts/screenrefresh (limited to '.scripts/screenrefresh') diff --git a/.scripts/screenrefresh b/.scripts/screenrefresh new file mode 100755 index 0000000..f6e17e5 --- /dev/null +++ b/.scripts/screenrefresh @@ -0,0 +1,17 @@ +#!/bin/sh + +polystart="false" +while getopts 'b' flag; do + case "${flag}" in + b) polystart="true" ;; + *) exit 1 ;; + esac +done + +screensetup.sh + +nitrogen --restore + +if [ "$polystart" = "true" ]; then + polystart & +fi -- cgit v1.2.3