Compare commits
2 Commits
106be0e1ef
...
6ab007a849
Author | SHA1 | Date | |
---|---|---|---|
6ab007a849 | |||
b6e5ed98fd |
15
config.def.h
15
config.def.h
@ -9,7 +9,7 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display
|
||||
static const int showsystray = 1; /* 0 means no systray */
|
||||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 0; /* 0 means bottom bar */
|
||||
static const char *fonts[] = { "SauceCodePro Nerd Font Mono:size=20:antialias:true:autohint:true" };
|
||||
static const char *fonts[] = { "SauceCodePro Nerd Font Mono:size=10:antialias:true:autohint:true" };
|
||||
static const char color_black[] = "#1D2021";
|
||||
static const char color_green[] = "#98971A";
|
||||
static const char color_red[] = "#CC241D";
|
||||
@ -66,7 +66,8 @@ static const char *mailcmd[] = { "/usr/bin/thunderbird", NULL };
|
||||
static const char *webcmd[] = { "/usr/lib/firefox/firefox", NULL };
|
||||
static const char *volup[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL};
|
||||
static const char *voldown[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL};
|
||||
static const char *volmute[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL};
|
||||
static const char *volmute[] = { "/usr/bin/pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL};
|
||||
static const char *micmute[] = { "/usr/bin/pactl", "set-source-mute", "@DEFAULT_SOURCE@", "toggle", NULL};
|
||||
static const char *brightup[] = { "/usr/bin/brightnessctl", "set", "10%+", NULL};
|
||||
static const char *brightdown[] = { "/usr/bin/brightnessctl", "set", "10%-", NULL};
|
||||
|
||||
@ -83,6 +84,7 @@ static Key keys[] = {
|
||||
{ 0, 0x1008ff11, spawn, {.v = voldown } },
|
||||
{ 0, 0x1008ff12, spawn, {.v = volmute } },
|
||||
{ 0, 0x1008ff13, spawn, {.v = volup } },
|
||||
{ 0, 0x1008ffb2, spawn, {.v = micmute } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
@ -115,6 +117,15 @@ static Key keys[] = {
|
||||
TAGKEYS( XK_7, 6)
|
||||
TAGKEYS( XK_8, 7)
|
||||
TAGKEYS( XK_9, 8)
|
||||
TAGKEYS( XK_ampersand, 0)
|
||||
TAGKEYS( XK_eacute, 1)
|
||||
TAGKEYS( XK_quotedbl, 2)
|
||||
TAGKEYS( XK_apostrophe, 3)
|
||||
TAGKEYS( XK_parenleft, 4)
|
||||
TAGKEYS( XK_minus, 5)
|
||||
TAGKEYS( XK_egrave, 6)
|
||||
TAGKEYS( XK_underscore, 7)
|
||||
TAGKEYS( XK_ccedilla, 8)
|
||||
{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user