Mercurial > hg > config
annotate .fluxbox/keys @ 466:3ffcbffb6fb4
python/hgrc.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 18:46:53 -0700 |
parents | a9890ec0eab6 |
children | 33d7d276b1b9 |
rev | line source |
---|---|
140
939ee1ab226a
keep whatever ubuntu is doing to fluxbox, i guess
Jeff Hammel <jhammel@mozilla.com>
parents:
135
diff
changeset
|
1 OnTitlebar Mouse1 :MacroCmd {Focus} {Raise} {ActivateTab} |
283 | 2 |
104
93cc3245bf2b
upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents:
65
diff
changeset
|
3 OnTitlebar Move1 :StartMoving |
93cc3245bf2b
upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents:
65
diff
changeset
|
4 OnLeftGrip Move1 :StartResizing bottomleft |
93cc3245bf2b
upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents:
65
diff
changeset
|
5 OnRightGrip Move1 :StartResizing bottomright |
93cc3245bf2b
upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents:
65
diff
changeset
|
6 OnWindowBorder Move1 :StartMoving |
93cc3245bf2b
upgrades to fluxbox -> ubuntu 10.10
Jeff Hammel <jhammel@mozilla.com>
parents:
65
diff
changeset
|
7 |
4 | 8 OnTitlebar Mouse2 :StartTabbing |
9 | |
10 OnTitlebar Double Mouse1 :Shade | |
11 OnTitlebar Mouse3 :WindowMenu | |
12 | |
13 OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} | |
14 OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight} | |
15 | |
298 | 16 # desktop + mouse interaction |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
17 OnDesktop Mouse1 :hideMenus |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
18 OnDesktop Mouse2 :workspaceMenu |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 OnDesktop Mouse3 :rootMenu |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
20 OnDesktop Mouse4 :nextWorkspace |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
21 OnDesktop Mouse5 :prevWorkspace |
298 | 22 OnToolbar Mouse4 :NextWorkspace |
23 OnToolbar Mouse5 :PrevWorkspace | |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
24 |
298 | 25 # window navigation |
281
1db0d561da2e
seeya later, gkrellm...or rather, i wont
Jeff Hammel <jhammel@mozilla.com>
parents:
278
diff
changeset
|
26 Mod1 Tab :NextWindow (workspace=[current]) (stuck=no) |
1db0d561da2e
seeya later, gkrellm...or rather, i wont
Jeff Hammel <jhammel@mozilla.com>
parents:
278
diff
changeset
|
27 Mod1 Shift Tab :PrevWindow (workspace=[current]) (stuck=no) |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
28 Control Mod1 Left :prevworkspace |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
29 Control Mod1 Right :nextworkspace |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
30 Mod1 F1 :Workspace 1 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
31 Mod1 F2 :Workspace 2 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
32 Mod1 F3 :Workspace 3 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
33 Mod1 F4 :Workspace 4 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
34 Mod1 F5 :Workspace 5 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
35 Mod1 F6 :Workspace 6 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
36 Mod1 F7 :Workspace 7 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
37 Mod1 F8 :Workspace 8 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
38 Mod1 F9 :Workspace 9 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
39 Mod1 F10 :Workspace 10 |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
40 |
308
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
41 # turn off caps lock |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
42 # None 66 : someday! |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
43 |
277 | 44 # window manipulation |
56
b3a633f05444
add maximize in vertical + horizontal directions
Jeff Hammel <k0scist@gmail.com>
parents:
49
diff
changeset
|
45 Shift Right :MaximizeHorizontal |
b3a633f05444
add maximize in vertical + horizontal directions
Jeff Hammel <k0scist@gmail.com>
parents:
49
diff
changeset
|
46 Shift Up :MaximizeVertical |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
47 F11 :Fullscreen |
135
206a6f3144b2
make the menu key show the menu
Jeff Hammel <jhammel@mozilla.com>
parents:
133
diff
changeset
|
48 Menu :RootMenu |
277 | 49 Mod4 t :ToggleDecor |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
50 |
308
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
51 # media keys |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
52 # 107 = Print |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
53 # 122 = XF86AudioLowerVolume |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
54 # 123 = XF86AudioRaiseVolume |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
55 None 107 :ExecCommand import -window root -silent /home/jhammel/screenshot.png |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
56 None 122 :ExecCommand aumix -v-10 |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
57 None 123 :ExecCommand aumix -v+10 |
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
58 |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
59 # commands |
277 | 60 Control Mod1 a :ExecCommand xclip -o | python /home/jhammel/python/window_path.py | xclip -i # absolute path of selected |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
61 Control Mod1 b :ExecCommand sleep 1; xset dpms force off # blank screen |
166 | 62 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
|
63 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
|
64 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
|
65 Control Mod1 f :ExecCommand firefox |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
66 Control Mod1 g :ExecCommand gkrellm |
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
67 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
|
68 Control Mod1 i :ExecCommand import /home/jhammel/screenshot.png |
283 | 69 Control Mod1 k :ExecCommand emacs /home/jhammel/docs/projects/ims/journal.txt # ISM journal entry |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
70 Control Mod1 l :ExecCommand echo http://letmegooglethatforyou.com/?q=$(xclip -o) | xclip -i |
277 | 71 Control Mod1 m :ExecCommand thunderbird # mail (thunderbird) |
0
f3ab51c79813
adding configuration from https://svn.openplans.org/svn/config_jhammel/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
72 Control Mod1 o :ExecCommand xclip -o | /home/jhammel/python/onelineit.py | xclip -i # put the clipboard contents on one line |
272
bc8d098a2474
better quoting + misc cleanup
Jeff Hammel <jhammel@mozilla.com>
parents:
270
diff
changeset
|
73 Control Mod1 p :ExecCommand xclip -o | /home/jhammel/python/pbmoz.py | xclip -i # pastebin |
273
71e5879500a7
forgot about this mystery...bury one, find another
Jeff Hammel <jhammel@mozilla.com>
parents:
272
diff
changeset
|
74 Control Mod1 q :ExecCommand xclip -o | /home/jhammel/python/quote.py | xclip -i # quote using >'s |
190
ca7b87a74610
add a key to capture the root window
Jeff Hammel <jhammel@mozilla.com>
parents:
166
diff
changeset
|
75 Control Mod1 r :ExecCommand import -window root -silent /home/jhammel/screenshot.png |
28 | 76 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
|
77 Control Mod1 t :ExecCommand gnome-terminal # terminal |
49 | 78 Control Mod1 x :ExecCommand xkill |
432 | 79 Control Mod1 y :ExecCommand /home/jhammel/python/pypi.py "$(xclip -o)"| xclip -i # pypi package summary |
128 | 80 Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s |
298 | 81 Control Shift / :ExecCommand /home/jhammel/bin/keyshelp.sh # hotkeys help |
82 | |
83 # unused keys...what to do, what to do.... | |
84 # j: ? | |
308
8be2beb2d952
start some keys dont work
Jeff Hammel <jhammel@mozilla.com>
parents:
298
diff
changeset
|
85 # r: if printscreen works |
298 | 86 # u: -> url open, freeing 's' for ??? |
87 # v: ? | |
88 # w: ? | |
89 # y: ? | |
90 # z: zoom? | |
91 | |
354 | 92 # `l` could go to launch to free up `s` |
93 # alternately, `l` -> `local resource`, | |
94 # (e.g.) keeping `s` for remote | |
95 # ...or could they be daisy chained? | |
96 | |
333
998d3c276b25
http://askubuntu.com/questions/168117/how-to-automatically-add-meta-tags-to-screenshot?rq=1
Jeff Hammel <jhammel@mozilla.com>
parents:
308
diff
changeset
|
97 # TODO: screenshots |
998d3c276b25
http://askubuntu.com/questions/168117/how-to-automatically-add-meta-tags-to-screenshot?rq=1
Jeff Hammel <jhammel@mozilla.com>
parents:
308
diff
changeset
|
98 # http://askubuntu.com/questions/168117/how-to-automatically-add-meta-tags-to-screenshot?rq=1 |
998d3c276b25
http://askubuntu.com/questions/168117/how-to-automatically-add-meta-tags-to-screenshot?rq=1
Jeff Hammel <jhammel@mozilla.com>
parents:
308
diff
changeset
|
99 |