1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* [ʞ] safekill.c <c.hale.su/lexi/util>
* ~ lexi hale <lexi@hale.su>
* $ cc -Ofast safekill.c -lX11 -lc -osafekill
* a utility to make it harder to accidentally nuke
* important windows on i3wm or whatever.
* released under affero general public license */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* [ʞ] safekill.c <c.hale.su/lexi/util>
* ~ lexi hale <lexi@hale.su>
* $ cc -Ofast safekill.c -lX11 -lc -osafekill
* © affero general public license
* a utility to make it harder to accidentally nuke
* important windows on i3wm or whatever. */
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
|