comparison config.h @ 2:de6bb7885c97

add right-click eventon layout icon to go to previous layout
author pang@hit-nxdomain.opendns.com
date Tue, 24 Mar 2009 12:52:45 -0700
parents 7024076fa948
children faa4cb9d7bd6
comparison
equal deleted inserted replaced
0:f4d7bf89c787 1:97e753e1b09b
81 { MODKEY|ControlMask|ShiftMask, XK_8, toggletag, { .i = 7 } }, \ 81 { MODKEY|ControlMask|ShiftMask, XK_8, toggletag, { .i = 7 } }, \
82 { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, { .i = 8 } }, \ 82 { MODKEY|ControlMask|ShiftMask, XK_9, toggletag, { .i = 8 } }, \
83 { MODKEY|ControlMask|ShiftMask, XK_0, toggletag, { .i = 9 } }, \ 83 { MODKEY|ControlMask|ShiftMask, XK_0, toggletag, { .i = 9 } }, \
84 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ 84 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
85 { MODKEY, XK_space, setlayout, { .i = -1 } }, \ 85 { MODKEY, XK_space, setlayout, { .i = -1 } }, \
86 { MODKEY|ShiftMask, XK_space, setlayout, { .i = -2 } }, \
86 { MODKEY, XK_F1, setlayout, { .i = 0 } }, \ 87 { MODKEY, XK_F1, setlayout, { .i = 0 } }, \
87 { MODKEY, XK_F2, setlayout, { .i = 1 } }, \ 88 { MODKEY, XK_F2, setlayout, { .i = 1 } }, \
88 { MODKEY, XK_F3, setlayout, { .i = 2 } }, \ 89 { MODKEY, XK_F3, setlayout, { .i = 2 } }, \
89 { MODKEY, XK_F4, setlayout, { .i = 3 } }, \ 90 { MODKEY, XK_F4, setlayout, { .i = 3 } }, \
90 { MODKEY, XK_F5, setlayout, { .i = 4 } }, \ 91 { MODKEY, XK_F5, setlayout, { .i = 4 } }, \
91 { MODKEY, XK_F6, setlayout, { .i = 5 } }, \ 92 { MODKEY, XK_F6, setlayout, { .i = 5 } }, \
92 { MODKEY, XK_F7, setlayout, { .i = 6 } }, \ 93 { MODKEY, XK_F7, setlayout, { .i = 6 } }, \
93 { MODKEY|ShiftMask, XK_space, toggleversatile,{ 0 } }, \ 94 { MODKEY|ControlMask, XK_space, toggleversatile,{ 0 } }, \
94 { MODKEY, XK_grave, view, { .i = -1 } }, \ 95 { MODKEY, XK_grave, view, { .i = -1 } }, \
95 { MODKEY, XK_1, view, { .i = 0 } }, \ 96 { MODKEY, XK_1, view, { .i = 0 } }, \
96 { MODKEY, XK_2, view, { .i = 1 } }, \ 97 { MODKEY, XK_2, view, { .i = 1 } }, \
97 { MODKEY, XK_3, view, { .i = 2 } }, \ 98 { MODKEY, XK_3, view, { .i = 2 } }, \
98 { MODKEY, XK_4, view, { .i = 3 } }, \ 99 { MODKEY, XK_4, view, { .i = 3 } }, \
100 { MODKEY, XK_6, view, { .i = 5 } }, \ 101 { MODKEY, XK_6, view, { .i = 5 } }, \
101 { MODKEY, XK_7, view, { .i = 6 } }, \ 102 { MODKEY, XK_7, view, { .i = 6 } }, \
102 { MODKEY, XK_8, view, { .i = 7 } }, \ 103 { MODKEY, XK_8, view, { .i = 7 } }, \
103 { MODKEY, XK_9, view, { .i = 8 } }, \ 104 { MODKEY, XK_9, view, { .i = 8 } }, \
104 { MODKEY, XK_0, view, { .i = 9 } }, \ 105 { MODKEY, XK_0, view, { .i = 9 } }, \
106 { MODKEY, XK_minus, next_view, { .i = -1 } }, \
107 { MODKEY, XK_equal, next_view, { .i = 1 } }, \
105 { MODKEY, XK_BackSpace, last_view, { 0 } }, \ 108 { MODKEY, XK_BackSpace, last_view, { 0 } }, \
106 { MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \ 109 { MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
107 { MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \ 110 { MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
108 { MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \ 111 { MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
109 { MODKEY|ControlMask, XK_4, toggleview, { .i = 3 } }, \ 112 { MODKEY|ControlMask, XK_4, toggleview, { .i = 3 } }, \