annotate .fluxbox/keys @ 269:cbd7651dbd52

add sample example code
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 23 Mar 2013 21:37:56 -0700
parents 86b77f98f15c
children 3f89de477ff7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
140
939ee1ab226a keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents: 135
diff changeset
1 ! fluxbox-update_configs added '(workspace=[current])' to (Next|Prev)(Window|Group)
939ee1ab226a keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents: 135
diff changeset
2 ! check lines marked by 'FBCV13' if they are correctly updated
939ee1ab226a keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents: 135
diff changeset
3 !mouse actions added by fluxbox-update_configs
939ee1ab226a keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents: 135
diff changeset
4 OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab}
104
93cc3245bf2b upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents: 65
diff changeset
5 !mouse actions added by fluxbox-update_configs
93cc3245bf2b upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents: 65
diff changeset
6 OnTitlebar Move1 :StartMoving
93cc3245bf2b upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents: 65
diff changeset
7 OnLeftGrip Move1 :StartResizing bottomleft
93cc3245bf2b upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents: 65
diff changeset
8 OnRightGrip Move1 :StartResizing bottomright
93cc3245bf2b upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents: 65
diff changeset
9 OnWindowBorder Move1 :StartMoving
93cc3245bf2b upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents: 65
diff changeset
10
4
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
11 !mouse actions added by fluxbox-update_configs
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
12 OnTitlebar Mouse2 :StartTabbing
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
13
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
14 !mouse actions added by fluxbox-update_configs
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
15 OnTitlebar Double Mouse1 :Shade
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
16 OnTitlebar Mouse3 :WindowMenu
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
17
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
18 !mouse actions added by fluxbox-update_configs
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
19 OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving}
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
20 OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight}
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
21
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
22 !mouse actions added by fluxbox-update_configs
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
23 OnToolbar Mouse4 :NextWorkspace
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
24 OnToolbar Mouse5 :PrevWorkspace
81e89e519980 changed a bunch of stuff, evidently
k0s <k0scist@gmail.com>
parents: 0
diff changeset
25
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
26 !mouse actions added by fluxbox-update_configs
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
27 OnDesktop Mouse1 :hideMenus
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
28 OnDesktop Mouse2 :workspaceMenu
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
29 OnDesktop Mouse3 :rootMenu
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
30 OnDesktop Mouse4 :nextWorkspace
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
31 OnDesktop Mouse5 :prevWorkspace
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
32
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
33 # File generated by FluxConf
140
939ee1ab226a keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents: 135
diff changeset
34 Mod1 Tab :nextwindow (workspace=[current]) !! FBCV13 !!
939ee1ab226a keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents: 135
diff changeset
35 Mod1 Shift Tab :prevwindow (workspace=[current]) !! FBCV13 !!
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
36 Control Mod1 Left :prevworkspace
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
37 Control Mod1 Right :nextworkspace
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
38 Mod1 F1 :Workspace 1
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
39 Mod1 F2 :Workspace 2
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
40 Mod1 F3 :Workspace 3
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
41 Mod1 F4 :Workspace 4
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
42 Mod1 F5 :Workspace 5
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
43 Mod1 F6 :Workspace 6
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
44 Mod1 F7 :Workspace 7
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
45 Mod1 F8 :Workspace 8
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
46 Mod1 F9 :Workspace 9
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
47 Mod1 F10 :Workspace 10
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
48
56
b3a633f05444 add maximize in vertical + horizontal directions
Jeff Hammel <k0scist@gmail.com>
parents: 49
diff changeset
49 Shift Right :MaximizeHorizontal
b3a633f05444 add maximize in vertical + horizontal directions
Jeff Hammel <k0scist@gmail.com>
parents: 49
diff changeset
50 Shift Up :MaximizeVertical
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
51 F11 :Fullscreen
135
206a6f3144b2 make the menu key show the menu
Jeff Hammel <jhammel@mozilla.com>
parents: 133
diff changeset
52 Menu :RootMenu
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
53
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
54 # commands
133
bd47021b8313 give full path to window_path
Jeff Hammel <jhammel@mozilla.com>
parents: 129
diff changeset
55 Control Mod1 a :ExecCommand xclip -o | python /home/jhammel/python/window_path.py | xclip -i
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
56 Control Mod1 b :ExecCommand sleep 1; xset dpms force off # blank screen
166
8b81dd40c160 make cal fit in a xterm
Jeff Hammel <jhammel@mozilla.com>
parents: 165
diff changeset
57 Control Mod1 c :ExecCommand xterm -geometry 22x9 -T "`date +'%b %-d'`" -e 'cal; sleep 10' # calender
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
58 Control Mod1 d :ExecCommand date | xclip -i # put now's date on the X clipboard
165
2269e680a0be fix weird quoting issue that just started happening
Jeff Hammel <jhammel@mozilla.com>
parents: 163
diff changeset
59 Control Mod1 e :ExecCommand emacs $(test -f "$(xclip -o)" && xclip -o) # emacs
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
60 Control Mod1 f :ExecCommand firefox
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
61 Control Mod1 g :ExecCommand gkrellm
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
62 Control Mod1 h :ExecCommand /home/jhammel/bin/keyshelp.sh # hotkeys help
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
63 Control Mod1 i :ExecCommand import /home/jhammel/screenshot.png
12
febb7672f59d put the attribution last
k0s <k0scist@gmail.com>
parents: 9
diff changeset
64 Control Mod1 k :ExecCommand echo $(curl $(xclip -o)?format=text) - $(xclip -o) | xclip -i # bitsyblog entry
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
65 Control Mod1 l :ExecCommand echo http://letmegooglethatforyou.com/?q=$(xclip -o) | xclip -i
242
86b77f98f15c change "m" hotkey -> thunderbird for M(ail)
Jeff Hammel <jhammel@mozilla.com>
parents: 190
diff changeset
66 Control Mod1 m :ExecCommand thunderbird
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
67 Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/onelineit.py | xclip -i # put the clipboard contents on one line
158
c1390e43b437 point pastebin at pastebin.mozilla
Jeff Hammel <jhammel@mozilla.com>
parents: 140
diff changeset
68 Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pbmoz.py | xclip -i
190
ca7b87a74610 add a key to capture the root window
Jeff Hammel <jhammel@mozilla.com>
parents: 166
diff changeset
69 Control Mod1 r :ExecCommand import -window root -silent /home/jhammel/screenshot.png
65
f47614ab462b add a key for > quoting
Jeff Hammel <jhammel@mozilla.com>
parents: 59
diff changeset
70 Control Mod1 q :ExecCommand xclip -o | sed 's/^/> /' | xclip -i # quote using >'s
28
4c9248b9498e new home for smartopen
Jeff Hammel <k0scist@gmail.com>
parents: 12
diff changeset
71 Control Mod1 s :ExecCommand /home/jhammel/bin/smartopen "$(xclip -o)" # smartopen
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
72 Control Mod1 t :ExecCommand gnome-terminal # terminal
49
512ceeb0ec90 add key for xkill
Jeff Hammel <k0scist@gmail.com>
parents: 40
diff changeset
73 Control Mod1 x :ExecCommand xkill
128
57069bd1a46a a better stripper
Jeff Hammel <jhammel@mozilla.com>
parents: 108
diff changeset
74 Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s
0
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
75
f3ab51c79813 adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff changeset
76 Mod4 t :ToggleDecor