mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit 71e8d7d667fa1f81cbb54048107d6bbf55b761cd
parent 0323e115cec6ea3d403ebdb9358988138a6c19b8
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Fri, 11 Oct 2019 15:04:10 +0300

docs: update

Diffstat:
Mconfig.h | 31++++++++++++-------------------
1 file changed, 12 insertions(+), 19 deletions(-)

diff --git a/config.h b/config.h @@ -33,21 +33,17 @@ #define CONFIG_H // Mod (Mod1 == alt) and master size -#define MOD Mod1Mask -#define MASTER_SIZE 0.6 +#define MOD Mod4Mask +#define MASTER_SIZE 0.5 // Colors #define FOCUS "rgb:bc/57/66" #define UNFOCUS "rgb:88/88/88" const char* dmenucmd[] = {"dmenu_run",NULL}; -const char* urxvtcmd[] = {"urxvt",NULL}; -const char* lockcmd[] = {"slock",NULL}; -const char* next[] = {"ncmpcpp","next",NULL}; -const char* prev[] = {"ncmpcpp","prev",NULL}; -const char* toggle[] = {"ncmpcpp","toggle",NULL }; -const char* voldown[] = {"amixer","set","PCM","5\%-",NULL}; -const char* volup[] = {"amixer","set","PCM","5\%+",NULL}; +const char* urxvtcmd[] = {"st",NULL}; +const char* voldown[] = {"amixer","sset","Master","5\%-",NULL}; +const char* volup[] = {"amixer","sset","Master","5\%+",NULL}; // Avoid multiple paste #define DESKTOPCHANGE(K,N) \ @@ -59,22 +55,20 @@ static struct key keys[] = { // MOD KEY FUNCTION ARGS { MOD, XK_h, decrease, {NULL}}, { MOD, XK_l, increase, {NULL}}, - { MOD, XK_x, kill_client, {NULL}}, + { MOD, XK_q, kill_client, {NULL}}, { MOD, XK_j, next_win, {NULL}}, - { MOD, XK_Tab, next_win, {NULL}}, + { Mod1Mask, XK_Tab, next_win, {NULL}}, { MOD, XK_k, prev_win, {NULL}}, { MOD|ShiftMask, XK_j, move_up, {NULL}}, { MOD|ShiftMask, XK_k, move_down, {NULL}}, - { MOD, XK_Return, swap_master, {NULL}}, + { MOD|ShiftMask, XK_Return, swap_master, {NULL}}, { MOD, XK_space, switch_mode, {NULL}}, - { MOD, XK_c, spawn, {.com = lockcmd}}, - { 0, XF86XK_AudioNext, spawn, {.com = next}}, - { 0, XF86XK_AudioPrev, spawn, {.com = prev}}, - { 0, XF86XK_AudioPlay, spawn, {.com = toggle}}, { 0, XF86XK_AudioLowerVolume, spawn, {.com = voldown}}, { 0, XF86XK_AudioRaiseVolume, spawn, {.com = volup}}, - { MOD, XK_p, spawn, {.com = dmenucmd}}, - { MOD|ShiftMask, XK_Return, spawn, {.com = urxvtcmd}}, + { MOD, XK_d, spawn, {.com = dmenucmd}}, + { MOD, XK_Return, spawn, {.com = urxvtcmd}}, + { MOD, XK_Right, next_desktop, {NULL}}, + { MOD, XK_Left, prev_desktop, {NULL}}, DESKTOPCHANGE( XK_0, 0) DESKTOPCHANGE( XK_1, 1) DESKTOPCHANGE( XK_2, 2) @@ -85,7 +79,6 @@ static struct key keys[] = { DESKTOPCHANGE( XK_7, 7) DESKTOPCHANGE( XK_8, 8) DESKTOPCHANGE( XK_9, 9) - { MOD, XK_q, quit, {NULL}} }; #endif