config.def.h (2042B)
1 #ifndef CONFIG_H 2 #define CONFIG_H 3 4 // stats bar 5 #define BAR_HEIGHT 20 6 #define FONT "monospace:size=10" 7 #define BAR_COLOR "#333333" 8 #define TEXT_COLOR "#FFFFFF" 9 10 // tray 11 #define TRAY_ICON_SIZE 25 12 #define TRAY_ICON_SPACING 4 13 #define TRAY_PADDING 4 14 15 #define MOD Mod4Mask 16 #define BORDER_COLOR "#ffffff" 17 #define BORDER_WIDTH 1 18 const char* menu[] = {"dmenu_run", 0}; 19 const char* term[] = {"st", 0}; 20 const char* scrot[] = {"scr", 0}; 21 const char* briup[] = {"bri", "10", "+", 0}; 22 const char* bridown[] = {"bri", "10", "-", 0}; 23 const char* voldown[] = {"amixer", "sset", "Master", "5%-", 0}; 24 const char* volup[] = {"amixer", "sset", "Master", "5%+", 0}; 25 const char* volmute[] = {"amixer", "sset", "Master", "toggle", 0}; 26 27 static struct key keys[] = { 28 {MOD, XK_q, win_kill, {0}}, 29 {MOD, XK_c, win_center, {0}}, 30 {MOD, XK_f, win_fs, {0}}, 31 32 {Mod1Mask, XK_Tab, win_next, {0}}, 33 {Mod1Mask|ShiftMask, XK_Tab, win_prev, {0}}, 34 35 {MOD, XK_d, run, {.com = menu}}, 36 {MOD, XK_p, run, {.com = scrot}}, 37 {MOD, XK_Return, run, {.com = term}}, 38 39 {0, XF86XK_AudioLowerVolume, run, {.com = voldown}}, 40 {0, XF86XK_AudioRaiseVolume, run, {.com = volup}}, 41 {0, XF86XK_AudioMute, run, {.com = volmute}}, 42 {0, XF86XK_MonBrightnessUp, run, {.com = briup}}, 43 {0, XF86XK_MonBrightnessDown, run, {.com = bridown}}, 44 45 {MOD, XK_1, ws_go, {.i = 1}}, 46 {MOD|ShiftMask, XK_1, win_to_ws, {.i = 1}}, 47 {MOD, XK_2, ws_go, {.i = 2}}, 48 {MOD|ShiftMask, XK_2, win_to_ws, {.i = 2}}, 49 {MOD, XK_3, ws_go, {.i = 3}}, 50 {MOD|ShiftMask, XK_3, win_to_ws, {.i = 3}}, 51 {MOD, XK_4, ws_go, {.i = 4}}, 52 {MOD|ShiftMask, XK_4, win_to_ws, {.i = 4}}, 53 {MOD, XK_5, ws_go, {.i = 5}}, 54 {MOD|ShiftMask, XK_5, win_to_ws, {.i = 5}}, 55 {MOD, XK_6, ws_go, {.i = 6}}, 56 {MOD|ShiftMask, XK_6, win_to_ws, {.i = 6}}, 57 }; 58 59 #endif