summaryrefslogtreecommitdiff
path: root/slock.c
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2022-11-03 03:15:05 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2022-11-03 03:15:05 -0400
commitf0d620abf00381ae57877e99e3a3ffe34da6e7e9 (patch)
tree4aa70cc3863f2daf1ebb44f16303c27ae91ff5da /slock.c
parent5214f4e3ea62575ad3f214493436f6aafc0eb7a0 (diff)
Execute custom shell command after locking the systemHEADmaster
Diffstat (limited to 'slock.c')
-rw-r--r--slock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/slock.c b/slock.c
index fd275b0..d100271 100644
--- a/slock.c
+++ b/slock.c
@@ -563,6 +563,9 @@ main(int argc, char **argv) {
}
}
+ // Run a post system-lock command:
+ system(cmd);
+
/* everything is now blank. Wait for the correct password */
readpw(dpy, &rr, locks, nscreens, hash);