I hereby claim:
- I am dewaka on github.
- I am dewaka (https://keybase.io/dewaka) on keybase.
- I have a public key whose fingerprint is D736 AC36 64C6 8357 0600 B686 06F9 E16C D9A7 5C97
To claim this, I am signing this object:
-- Hammerspoon configuration, heavily influenced by sdegutis default configuration | |
-- https://github.com/Hammerspoon/hammerspoon/wiki/ztomer's-init.lua | |
-- init grid | |
hs.grid.MARGINX = 0 | |
hs.grid.MARGINY = 0 | |
hs.grid.GRIDWIDTH = 16 | |
hs.grid.GRIDHEIGHT = 10 | |
-- disable animation |
itemlost_becauseof(shoe, nail). | |
itemlost_becauseof(horse, shoe). | |
itemlost_becauseof(rider, horse). | |
itemlost_becauseof(battle, rider). | |
itemlost_becauseof(kingdom, battle). | |
write_poem(ItemLost) :- | |
write_poem_aux(ItemLost); | |
write_last_line(ItemLost). |
### Default jumpapp key bindings ### | |
super + ctrl + {g,space,f,c,t,e,v,x,k,o,b,p,d,a} | |
jumpapp -m {google-chrome,google-chrome,firefox,xfce4-terminal,xfce4-terminal,emacs,gvim,xfce4-taskmanager,gitkraken,libreoffice,bcompare,pavucontrol,atril,anki} | |
super + space | |
jumpapp -m xfce4-terminal | |
super + {alt + space, bracketright} | |
jumpapp -m emacs |
# source '/usr/share/tmux/powerline.conf' | |
# source '/usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf' | |
# Default shell to fish | |
set-option -g default-shell "/home/chathura/.nix-profile/bin/fish" | |
# remap prefix to Control + a | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix |
# Config to fix z.lua | |
# See - https://github.com/skywind3000/z.lua/issues/47 | |
set -gx _ZL_CD cd | |
alias t "tmux" | |
# alias e "edit_files" | |
alias e "$EDITOR (fzf -m --reverse --height 40%)" | |
alias o "exo-open 2>/dev/null" | |
alias ec "emacsclient -nw" | |
alias vo "vim (fzf -m --reverse --height 40%)" |
set ignorecase | |
set smartcase | |
set scrolloff=3 " 3 lines above/below cursor when scrolling | |
" Emulated Plugins | |
set surround | |
" set easymotion | |
set NERDTree | |
" Copy to system clipboard as well |
; Launch or focus Applications | |
appFlapper(exePath) { | |
exeName := substr(exePath, instr(exePath, "\",, 0)+1) | |
IfWinExist, % "ahk_exe " exeName | |
{ | |
IfWinActive | |
{ | |
WinWait, ahk_exe %exeName% | |
WinMinimize |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
mkdir ~/build | |
cd ~/build | |
# get the current version | |
wget http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz | |
# unpack | |
tar xvf pkgsrc.tar.gz |