dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 50d3b101c2b017e6625e8e99b2c17453827d29dd
parent b3e02fded548df53fbcfe9a7231f4b15f6eb7fd9
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sun, 21 Mar 2021 05:15:37 -0400

Add script to lock/suspend

Diffstat:
R.config/aerc/mail-signature -> .claws-mail/mail-signature | 0
A.local/bin/lockscreen | 8++++++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/.config/aerc/mail-signature b/.claws-mail/mail-signature diff --git a/.local/bin/lockscreen b/.local/bin/lockscreen @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$1" = "suspend" ]; then + slock -m "$(cowsay "$(fortune)") (Screen Locked)" & + loginctl suspend +else + slock -m "$(cowsay "$(fortune)") (Screen Locked)" & +fi