Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jakemayeux on github.
  • I am jakemayeuxneu (https://keybase.io/jakemayeuxneu) on keybase.
  • I have a public key ASAci1IjfUtI55wiH3UV0I_A4jvBi1EdrDRyGEg167a5rAo

To claim this, I am signing this object:

icon = hs.menubar.new()
-- icon2 = hs.menubar.new()
icon:setMenu({
{ title = hs.battery.capacity().." mAh"},
})
icon:setTitle(hs.battery.amperage().." mAh")
function mAhUpdate()
icon:setTitle(hs.battery.amperage().." mAh")
nnoremap ; :
nnoremap : ;
vnoremap ; :
vnoremap : ;
"nmap ; :
set nocompatible
"map ® :so ~/.vimrc<Enter>
"map <A-r> :so ~/.vimrc<Enter>
"map ∑ <C-W>w
init()
function init(){
sh = Screen.main().frame().height
sw = Screen.main().frame().width
//ox = Screen.main().frame().x
//oy = Screen.main().frame().y
ox = 0
oy = 0
}
m117 100E600CF1
m117 111B800E61
m117 122001FE61
m117 13300E67B1
m117 1444DE6001
m117 155DFE6001
m117 166E683001
m117 177E600001
let "cur = `cat /sys/class/power_supply/BAT0/current_avg`"
let "xbl = `xbacklight -get | grep -o '^[0-9]*'`"
#echo $xbl" "$(($cur / 1000))" "
echo ""$(($cur / 1000))" "
#!/bin/bash
vol=`awk -F"[][]" '/\%/ { print $2 }' <(amixer sget Master) | head -1`
echo $vol
nnoremap ; :
nnoremap : ;
vnoremap ; :
vnoremap : ;
"nmap ; :
set nocompatible
map ® :so ~/.vimrc<Enter>
map <A-r> :so ~/.vimrc<Enter>
map ∑ <C-W>w
#include "themes/chalk"
*.foreground: #d7ddea
Xft.dpi: 227
//Xft.dpi: 113
//Xft.autohint: 0
//Xft.lcdfilter: lcddefault
//Xft.hintstyle: hintfull
//Xft.hinting: 0
//Xft.antialias: true
[bar/bspc]
;background = #242a34
background = #242424
foreground = #b7bdca
width = 2560
height = 32
modules-left = time
modules-center = bspwm
modules-right = battery
font-0 = Sans-Regular:size=8;0