Skip to content

Instantly share code, notes, and snippets.

@sephamorr
sephamorr / wmfix
Last active September 16, 2020 18:49
#!/usr/bin/python
#You may have to change some of these values to match display/dock/menubar sizes
xscr=1920
yscr=1080
yd=5
xd=80
xstart=0
ystart=44
xmax=xscr-xd
#import <AppKit/NSScreen.h>
#import <AppKit/AppKit.h>
#import <Foundation/NSString.h>
#import <Foundation/NSNotification.h>
#import <CoreGraphics/CoreGraphics.h>
// #include <stdio.h>
#include <pthread.h>
#include <unistd.h>