Skip to content

Instantly share code, notes, and snippets.

@shrx
shrx / organize_w
Created October 4, 2016 09:41 — forked from Jacob-Vlijm/w_resize.py
window resize script for XFCE (Xubuntu), depends on wmctrl
#!/usr/bin/env python3
import subprocess
import sys
titleHeight = 12
arg = sys.argv[1]
def get(command):
return subprocess.check_output(["/bin/bash", "-c", command]).decode("utf-8")