Skip to content

Instantly share code, notes, and snippets.

@lcpz
lcpz / ticks.c
Last active January 7, 2017 12:14
A simple program for monitoring lain performances - https://github.com/copycat-killer/lain/issues/114
/*
compile: gcc -o ticks ticks.c
run: ./ticks $(pgrep awesome) 20 3
This makes 3 measurements of each 20 seconds
Best used with short timeouts in the widgets and everything else idling.
*/
--[[
Licensed under GNU General Public License v2
* (c) 2015, InfinityTotality
* (c) 2014, projektile, worron
* (c) 2013, Luke Bonham
* (c) 2009, Donald Ephraim Curtis
* (c) 2008, Julien Danjolu
@lcpz
lcpz / uselesstile.lua
Last active April 10, 2018 16:04
Make uselesstile internal gaps two times wider, like xmonad.
--[[
Licensed under GNU General Public License v2
* (c) 2014 projektile, worron
* (c) 2013 Luke Bonham
* (c) 2009 Donald Ephraim Curtis
* (c) 2008 Julien Danjolu
With gaps between windows two times wider
(like xmonad)