Mercurial > hg > config
view .fluxbox/keys @ 486:c9aab7092af1
python/hgrc.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 21:13:42 -0700 |
parents | a9890ec0eab6 |
children | 33d7d276b1b9 |
line wrap: on
line source
OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab} OnTitlebar Move1 :StartMoving OnLeftGrip Move1 :StartResizing bottomleft OnRightGrip Move1 :StartResizing bottomright OnWindowBorder Move1 :StartMoving OnTitlebar Mouse2 :StartTabbing OnTitlebar Double Mouse1 :Shade OnTitlebar Mouse3 :WindowMenu OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight} # desktop + mouse interaction OnDesktop Mouse1 :hideMenus OnDesktop Mouse2 :workspaceMenu OnDesktop Mouse3 :rootMenu OnDesktop Mouse4 :nextWorkspace OnDesktop Mouse5 :prevWorkspace OnToolbar Mouse4 :NextWorkspace OnToolbar Mouse5 :PrevWorkspace # window navigation Mod1 Tab :NextWindow (workspace=[current]) (stuck=no) Mod1 Shift Tab :PrevWindow (workspace=[current]) (stuck=no) Control Mod1 Left :prevworkspace Control Mod1 Right :nextworkspace Mod1 F1 :Workspace 1 Mod1 F2 :Workspace 2 Mod1 F3 :Workspace 3 Mod1 F4 :Workspace 4 Mod1 F5 :Workspace 5 Mod1 F6 :Workspace 6 Mod1 F7 :Workspace 7 Mod1 F8 :Workspace 8 Mod1 F9 :Workspace 9 Mod1 F10 :Workspace 10 # turn off caps lock # None 66 : someday! # window manipulation Shift Right :MaximizeHorizontal Shift Up :MaximizeVertical F11 :Fullscreen Menu :RootMenu Mod4 t :ToggleDecor # media keys # 107 = Print # 122 = XF86AudioLowerVolume # 123 = XF86AudioRaiseVolume None 107 :ExecCommand import -window root -silent /home/jhammel/screenshot.png None 122 :ExecCommand aumix -v-10 None 123 :ExecCommand aumix -v+10 # commands Control Mod1 a :ExecCommand xclip -o | python /home/jhammel/python/window_path.py | xclip -i # absolute path of selected Control Mod1 b :ExecCommand sleep 1; xset dpms force off # blank screen Control Mod1 c :ExecCommand xterm -geometry 22x9 -T "`date +'%b %-d'`" -e 'cal; sleep 10' # calender Control Mod1 d :ExecCommand date | xclip -i # put now's date on the X clipboard Control Mod1 e :ExecCommand emacs $(test -f "$(xclip -o)" && xclip -o) # emacs Control Mod1 f :ExecCommand firefox Control Mod1 g :ExecCommand gkrellm Control Mod1 h :ExecCommand /home/jhammel/bin/keyshelp.sh # hotkeys help Control Mod1 i :ExecCommand import /home/jhammel/screenshot.png Control Mod1 k :ExecCommand emacs /home/jhammel/docs/projects/ims/journal.txt # ISM journal entry Control Mod1 l :ExecCommand echo http://letmegooglethatforyou.com/?q=$(xclip -o) | xclip -i Control Mod1 m :ExecCommand thunderbird # mail (thunderbird) Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/onelineit.py | xclip -i # put the clipboard contents on one line Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pbmoz.py | xclip -i # pastebin Control Mod1 q :ExecCommand xclip -o | /home/jhammel/python/quote.py | xclip -i # quote using >'s Control Mod1 r :ExecCommand import -window root -silent /home/jhammel/screenshot.png Control Mod1 s :ExecCommand /home/jhammel/bin/smartopen "$(xclip -o)" # smartopen Control Mod1 t :ExecCommand gnome-terminal # terminal Control Mod1 x :ExecCommand xkill Control Mod1 y :ExecCommand /home/jhammel/python/pypi.py "$(xclip -o)"| xclip -i # pypi package summary Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s Control Shift / :ExecCommand /home/jhammel/bin/keyshelp.sh # hotkeys help # unused keys...what to do, what to do.... # j: ? # r: if printscreen works # u: -> url open, freeing 's' for ??? # v: ? # w: ? # y: ? # z: zoom? # `l` could go to launch to free up `s` # alternately, `l` -> `local resource`, # (e.g.) keeping `s` for remote # ...or could they be daisy chained? # TODO: screenshots # http://askubuntu.com/questions/168117/how-to-automatically-add-meta-tags-to-screenshot?rq=1