Skip to content

Instantly share code, notes, and snippets.

View jswrenn's full-sized avatar
🦀

Jack Wrenn jswrenn

🦀
View GitHub Profile
module Client where
import Library
bar = foo 1
@jswrenn
jswrenn / xmonad.hs
Last active February 9, 2016 20:58 — forked from anonymous/xmonad.hs
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
-- setup functions (dzen, xmobar) probably need to change

Keybase proof

I hereby claim:

  • I am jswrenn on github.
  • I am jsw (https://keybase.io/jsw) on keybase.
  • I have a public key whose fingerprint is 244C D5B3 FA42 514B D48A 1175 4627 A5D1 337F 4E64

To claim this, I am signing this object:

@jswrenn
jswrenn / xmonad.hs
Last active January 26, 2016 23:28
for james
--
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
@jswrenn
jswrenn / dmenu_run
Last active January 26, 2016 22:49
/bin/dmenu_run
#!/bin/sh
cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"}
if [ -d "$cachedir" ]; then
cache=$cachedir/dmenu_run
else
cache=$HOME/.dmenu_cache # if no xdg dir, fall back to dotfile in ~
fi
(
BATT=`acpi -b`
BATT_PERCENT=`echo $BATT | awk -F'[, ]' '{print $5}'`
@jswrenn
jswrenn / xmonad.hs
Created January 26, 2016 20:12 — forked from anonymous/xmonad.hs
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
-- setup functions (dzen, xmobar) probably need to change
@jswrenn
jswrenn / xmonad.hs
Last active January 26, 2016 20:16 — forked from anonymous/xmonad.hs
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
-- setup functions (dzen, xmobar) probably need to change
--
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar
#!/bin/sh
cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"}
if [ -d "$cachedir" ]; then
cache=$cachedir/dmenu_run
else
cache=$HOME/.dmenu_cache # if no xdg dir, fall back to dotfile in ~
fi
(
BATT=`acpi -b`
BATT_PERCENT=`echo $BATT | awk -F'[, ]' '{print $5}'`
--
-- xmonad example config file for xmonad-0.9
--
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
--
-- Normally, you'd only override those defaults you care about.
--
-- NOTE: Those updating from earlier xmonad versions, who use
-- EwmhDesktops, safeSpawn, WindowGo, or the simple-status-bar