mirror of
				https://github.com/Mastermindzh/dotfiles.git
				synced 2025-10-31 16:58:47 +01:00 
			
		
		
		
	fixed lock screen activation on suspend. Thanks Suayip :*
This commit is contained in:
		| @@ -1,9 +1,9 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
|  |  | ||||||
| # check if locked | # check if locked | ||||||
| if !(pgrep -x "i3lock" > /dev/null) | if ! pgrep -x "i3lock" >/dev/null; then | ||||||
| then |   echo "not locked, locking" | ||||||
|     bash ~/.config/i3/scripts/i3lock.sh --suspend |   bash ~/.config/i3/scripts/lock.sh --suspend | ||||||
| fi | fi | ||||||
|  |  | ||||||
| systemctl suspend | systemctl suspend | ||||||
		Reference in New Issue
	
	Block a user