Return the mod key to the super key agine :)
This commit is contained in:
parent
19e9f24391
commit
639c18a095
1 changed files with 16 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
||||||
#ifndef KEYS_H
|
#ifndef KEYS_H
|
||||||
#define KEYS_H
|
#define KEYS_H
|
||||||
|
|
||||||
#include <X11/X.h>
|
|
||||||
#include "../dwm.h"
|
#include "../dwm.h"
|
||||||
|
#include <X11/X.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned int mod;
|
unsigned int mod;
|
||||||
|
@ -15,13 +15,17 @@ typedef struct {
|
||||||
} Key;
|
} Key;
|
||||||
|
|
||||||
/* key definitions */
|
/* key definitions */
|
||||||
#define MODKEY LockMask // The modifier key is: Caps Lock :P
|
#define MODKEY Mod4Mask // Super key
|
||||||
|
|
||||||
#define TAGKEYS(CHAIN, KEY, TAG) \
|
#define TAGKEYS(CHAIN, KEY, TAG) \
|
||||||
{ MODKEY, CHAIN, KEY, view, {.ui = 1 << TAG} }, \
|
{MODKEY, CHAIN, KEY, view, {.ui = 1 << TAG}}, \
|
||||||
{ MODKEY|ControlMask, CHAIN, KEY, toggleview, {.ui = 1 << TAG} }, \
|
{MODKEY | ControlMask, CHAIN, KEY, toggleview, {.ui = 1 << TAG}}, \
|
||||||
{ MODKEY|ShiftMask, CHAIN, KEY, tag, {.ui = 1 << TAG} }, \
|
{MODKEY | ShiftMask, CHAIN, KEY, tag, {.ui = 1 << TAG}}, \
|
||||||
{ MODKEY|ControlMask|ShiftMask, CHAIN, KEY, toggletag, {.ui = 1 << TAG} },
|
{MODKEY | ControlMask | ShiftMask, \
|
||||||
|
CHAIN, \
|
||||||
|
KEY, \
|
||||||
|
toggletag, \
|
||||||
|
{.ui = 1 << TAG}},
|
||||||
|
|
||||||
// Include all the key bindings
|
// Include all the key bindings
|
||||||
#ifndef KEYS_C
|
#ifndef KEYS_C
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue