Skip to content

Instantly share code, notes, and snippets.

View sgtrusty's full-sized avatar
💭
happy im heeeere

Santiago González sgtrusty

💭
happy im heeeere
View GitHub Profile
#!/usr/bin/env zsh
function usage() {
cat <<EOF
USAGE i3-xephyr start|stop|restart|run
start Start nested i3 in xephyr
stop Stop xephyr
restart reload i3 in xephyr
run run command in nested i3
EOF
@jksdua
jksdua / bug-reporting-template.html
Created January 21, 2014 13:59
Bug reporting HTML template - see comment for more details :)
<html>
<head>
<title>Report a Bug</title>
<style type="text/css">
/* apply a natural box layout model to all elements */
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
@sashainparis
sashainparis / xmonad.hs
Created June 24, 2013 15:30
xmonad is a tiling window manager for Linux: http://xmonad.org/
-------------------- imports --------------------
--necessary
import XMonad
import qualified XMonad.StackSet as W
import qualified Data.Map as M
import System.Exit
import Graphics.X11.Xlib
import System.IO (Handle, hPutStrLn)
@micrypt
micrypt / config.hs
Created August 29, 2011 10:45
XMonad config
atom_WM_TAKE_FOCUS ::
X Atom
atom_WM_TAKE_FOCUS =
getAtom "WM_TAKE_FOCUS"
takeFocusX ::
Window
-> X ()
takeFocusX w =
withWindowSet . const $ do