view .fluxbox/keys @ 269:cbd7651dbd52

add sample example code
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 23 Mar 2013 21:37:56 -0700 (2013-03-24)
parents 86b77f98f15c
children 3f89de477ff7
line wrap: on
line source
! fluxbox-update_configs added '(workspace=[current])' to (Next|Prev)(Window|Group)
! check lines marked by 'FBCV13' if they are correctly updated
!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}
!mouse actions added by fluxbox-update_configs
OnTitlebar Move1 :StartMoving
OnLeftGrip Move1 :StartResizing bottomleft
OnRightGrip Move1 :StartResizing bottomright
OnWindowBorder Move1 :StartMoving

!mouse actions added by fluxbox-update_configs
OnTitlebar Mouse2 :StartTabbing

!mouse actions added by fluxbox-update_configs
OnTitlebar Double Mouse1 :Shade
OnTitlebar Mouse3 :WindowMenu

!mouse actions added by fluxbox-update_configs
OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}

!mouse actions added by fluxbox-update_configs
OnToolbar Mouse4 :NextWorkspace
OnToolbar Mouse5 :PrevWorkspace

!mouse actions added by fluxbox-update_configs
OnDesktop Mouse1 :hideMenus
OnDesktop Mouse2 :workspaceMenu
OnDesktop Mouse3 :rootMenu
OnDesktop Mouse4 :nextWorkspace
OnDesktop Mouse5 :prevWorkspace

# File generated by FluxConf
Mod1 Tab :nextwindow (workspace=[current]) !! FBCV13 !!
Mod1 Shift Tab :prevwindow (workspace=[current]) !! FBCV13 !!
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

Shift Right :MaximizeHorizontal
Shift Up :MaximizeVertical
F11 :Fullscreen
Menu :RootMenu

# commands
Control Mod1 a :ExecCommand xclip -o | python /home/jhammel/python/window_path.py | xclip -i
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 echo $(curl $(xclip -o)?format=text) - $(xclip -o) | xclip -i # bitsyblog entry
Control Mod1 l :ExecCommand echo http://letmegooglethatforyou.com/?q=$(xclip -o) | xclip -i
Control Mod1 m :ExecCommand 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 
Control Mod1 r :ExecCommand import -window root -silent /home/jhammel/screenshot.png
Control Mod1 q :ExecCommand xclip -o | sed 's/^/> /' | xclip -i # quote using >'s
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 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s

Mod4 t :ToggleDecor