aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: 6473f50dc8009c4dc19eb4c246dccbf167ba84ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Shell
static char shell[] = "sh";

#define MOD Mod1Mask

enum {
  Music,
  Bright,

  // Declare modes above this
  MODE_SIZE, // NOTE: Do not remove this
};

// Define mode key bindings here
// NOTE: "10" here is the maximum number of key bindings for each mode
static Key modes[MODE_SIZE][10] = {
  [Music] = {
    { 0, XK_m,   cmd("notify-send inside_music") },
  },
  [Bright] = {
    { 0, XK_m,      cmd("notify-send inside_bright") },
    { 0, XK_n,      cmd("notify-send inside_bright_1") },
  },
};

// Define normal mode key bindings here
static Key keys[] = {
  { MOD|ShiftMask, XK_y,   cmd("notify-send hello") },
  { MOD|ShiftMask, XK_z,   mode(Music, False) },
  { MOD|ShiftMask, XK_x,   mode(Bright, True) },
};