Skip to content

Instantly share code, notes, and snippets.

View piegamesde's full-sized avatar
Not a NixOS mod anymore

piegames piegamesde

Not a NixOS mod anymore
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
/**
* Set the WM_CLASS property of a window specified by it's ID
* Usage: set_wm_class <window id> <window class> <application name>
* Compile with: gcc set_wm_class.c -lX11 -o set_wm_class