diff options
| -rw-r--r-- | config.def.h | 34 | ||||
| -rw-r--r-- | config.h | 34 |
2 files changed, 40 insertions, 28 deletions
diff --git a/config.def.h b/config.def.h index 0a27962..51327f7 100644 --- a/config.def.h +++ b/config.def.h @@ -37,7 +37,7 @@ static const char *colors[][3] = { /* tagging */ static const char *tags[] = { "1", "2", "3" }; -static const char *defaulttagapps[] = { "librewolf", "st", "zathura" }; +static const char *defaulttagapps[] = { "librewolf", "st", "dz" }; static const Rule rules[] = { /* xprop(1): @@ -59,7 +59,7 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win static const Layout layouts[] = { /* symbol arrange function */ { "[@]", spiral }, /* first entry is default */ - { "[]=", tile }, + { "[]=", tile }, /* unused */ { "><>", NULL }, /* no layout function means floating behavior */ { "[\\]", dwindle }, { "[M]", monocle }, /* unused */ @@ -78,17 +78,20 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL }; -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_white, "-sb", col_green, "-sf", col_white, NULL }; -static const char *mansplaincmd[] = { "mansplain", NULL }; -static const char *notesplaincmd[] = { "notesplain", NULL }; -static const char *launchcmd[] = { "launch", NULL }; -static const char *maimcmd[] = { "maimpick", NULL }; -static const char *slpcmd[] = { "slp", NULL }; -static const char *viacmd[] = { "via", NULL }; -static const char *volumeupcmd[] = { "volume", "up", NULL }; -static const char *volumedowncmd[] = { "volume", "down", NULL }; -static const char *volumemutecmd[] = { "volume", "mute", NULL }; +static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_white, "-sb", col_green, "-sf", col_white, NULL }; /* unused */ +static const char *dtranscmd[] = { "dtrans", NULL }; +static const char *launchcmd[] = { "launch", NULL }; +static const char *maimcmd[] = { "maimpick", NULL }; +static const char *mansplaincmd[] = { "mansplain", NULL }; +static const char *notesplaincmd[] = { "notesplain", NULL }; +static const char *slpcmd[] = { "slp", NULL }; +static const char *viacmd[] = { "via", NULL }; +static const char *volumeupcmd[] = { "volume", "up", NULL }; +static const char *volumedowncmd[] = { "volume", "down", NULL }; +static const char *volumemutecmd[] = { "volume", "mute", NULL }; +static const char *brightnessupcmd[] = { "brightness", "up", NULL }; +static const char *brightnessdowncmd[] = { "brightness", "down", NULL }; // static const char *termcmd[] = { "st", NULL }; static const Key keys[] = { @@ -109,7 +112,7 @@ static const Key keys[] = { { MODKEY, XK_q, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, { MODKEY, XK_f, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, + /* { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, */ { MODKEY, XK_r, setlayout, {.v = &layouts[2]} }, { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[3]} }, { MODKEY, XK_m, spawn, {.v = mansplaincmd}}, @@ -118,6 +121,9 @@ static const Key keys[] = { { MODKEY, XK_Page_Up, spawn, {.v = volumeupcmd} }, { MODKEY, XK_Page_Down, spawn, {.v = volumedowncmd}}, { MODKEY, XK_Up, spawn, {.v = volumemutecmd}}, + { MODKEY|ShiftMask, XK_Page_Up, spawn, {.v = brightnessupcmd} }, + { MODKEY|ShiftMask, XK_Page_Down, spawn, {.v = brightnessdowncmd}}, + { MODKEY, XK_t, spawn, {.v = dtranscmd}}, /* { MODKEY, XK_space, setlayout, {0} }, */ { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY|ShiftMask, XK_f, togglefullscr, {0} }, @@ -37,7 +37,7 @@ static const char *colors[][3] = { /* tagging */ static const char *tags[] = { "1", "2", "3" }; -static const char *defaulttagapps[] = { "librewolf", "st", "zathura" }; +static const char *defaulttagapps[] = { "librewolf", "st", "dz" }; static const Rule rules[] = { /* xprop(1): @@ -59,7 +59,7 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win static const Layout layouts[] = { /* symbol arrange function */ { "[@]", spiral }, /* first entry is default */ - { "[]=", tile }, + { "[]=", tile }, /* unused */ { "><>", NULL }, /* no layout function means floating behavior */ { "[\\]", dwindle }, { "[M]", monocle }, /* unused */ @@ -78,17 +78,20 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL }; -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_white, "-sb", col_green, "-sf", col_white, NULL }; -static const char *mansplaincmd[] = { "mansplain", NULL }; -static const char *notesplaincmd[] = { "notesplain", NULL }; -static const char *launchcmd[] = { "launch", NULL }; -static const char *maimcmd[] = { "maimpick", NULL }; -static const char *slpcmd[] = { "slp", NULL }; -static const char *viacmd[] = { "via", NULL }; -static const char *volumeupcmd[] = { "volume", "up", NULL }; -static const char *volumedowncmd[] = { "volume", "down", NULL }; -static const char *volumemutecmd[] = { "volume", "mute", NULL }; +static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_white, "-sb", col_green, "-sf", col_white, NULL }; /* unused */ +static const char *dtranscmd[] = { "dtrans", NULL }; +static const char *launchcmd[] = { "launch", NULL }; +static const char *maimcmd[] = { "maimpick", NULL }; +static const char *mansplaincmd[] = { "mansplain", NULL }; +static const char *notesplaincmd[] = { "notesplain", NULL }; +static const char *slpcmd[] = { "slp", NULL }; +static const char *viacmd[] = { "via", NULL }; +static const char *volumeupcmd[] = { "volume", "up", NULL }; +static const char *volumedowncmd[] = { "volume", "down", NULL }; +static const char *volumemutecmd[] = { "volume", "mute", NULL }; +static const char *brightnessupcmd[] = { "brightness", "up", NULL }; +static const char *brightnessdowncmd[] = { "brightness", "down", NULL }; // static const char *termcmd[] = { "st", NULL }; static const Key keys[] = { @@ -109,7 +112,7 @@ static const Key keys[] = { { MODKEY, XK_q, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, { MODKEY, XK_f, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, + /* { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, */ { MODKEY, XK_r, setlayout, {.v = &layouts[2]} }, { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[3]} }, { MODKEY, XK_m, spawn, {.v = mansplaincmd}}, @@ -118,6 +121,9 @@ static const Key keys[] = { { MODKEY, XK_Page_Up, spawn, {.v = volumeupcmd} }, { MODKEY, XK_Page_Down, spawn, {.v = volumedowncmd}}, { MODKEY, XK_Up, spawn, {.v = volumemutecmd}}, + { MODKEY|ShiftMask, XK_Page_Up, spawn, {.v = brightnessupcmd} }, + { MODKEY|ShiftMask, XK_Page_Down, spawn, {.v = brightnessdowncmd}}, + { MODKEY, XK_t, spawn, {.v = dtranscmd}}, /* { MODKEY, XK_space, setlayout, {0} }, */ { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY|ShiftMask, XK_f, togglefullscr, {0} }, |
