diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2022-11-03 03:15:05 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2022-11-03 03:15:05 -0400 |
commit | f0d620abf00381ae57877e99e3a3ffe34da6e7e9 (patch) | |
tree | 4aa70cc3863f2daf1ebb44f16303c27ae91ff5da | |
parent | 5214f4e3ea62575ad3f214493436f6aafc0eb7a0 (diff) |
-rw-r--r-- | config.def.h | 2 | ||||
-rw-r--r-- | slock.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 9a0dac3..472c67e 100644 --- a/config.def.h +++ b/config.def.h @@ -2,6 +2,8 @@ static const char *user = "master"; static const char *group = "wheel"; +static const char *cmd = "layouttoggle us"; + static const char *colorname[NUMCOLS] = { [BACKGROUND] = "black", /* after initialization */ [INIT] = "#2d2d2d", /* after initialization */ @@ -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); |