aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2022-01-31 12:43:13 +0100
committerÖzgür Kesim <oec@codeblau.de>2022-01-31 12:43:13 +0100
commit6225e0c4c1342d4b1610d3d46599260af2e17e8b (patch)
treeb9fefa0520a7a4d8982937cd668c315af56b6116 /config.def.h
parent7d9873cf1ad280a473862c251b52f6ce37384777 (diff)
fontawesome hinzugefügt
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/config.def.h b/config.def.h
index d557136..5a9fea8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -11,8 +11,8 @@ 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[] = { "Go:pixelsize=16:antialias=true:autohint=true" };
-static const char dmenufont[] = "Go:pixelsize=16:antialias=true:autohint=true";
+static const char *fonts[] = { "Go:pixelsize=18:antialias=true:autohint=true", "FontAwesome:pixelsize=18:antialias=true:autohint=true"};
+static const char dmenufont[] = "Go:pixelsize=18:antialias=true:autohint=true";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
@@ -35,6 +35,8 @@ static const Rule rules[] = {
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
+ { "Alacritty", NULL, "pamix", 0, 1, -1 },
+ { "Alacritty", NULL, "ncmpcpp", 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
{ "Google-chrome", NULL, NULL, 1 << 8, 0, -1 },
};
@@ -70,20 +72,20 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
-static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
-static const char *termcmd[] = { "alacritty", NULL };
-static const char *brightnessup[] = { "sudo", "brightnessctl", "set", "+10%", NULL};
-static const char *brightnessdown[] = { "sudo", "brightnessctl", "set", "10%-", NULL};
+static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
+static const char *termcmd[] = { "alacritty", NULL };
+static const char *brightup[] = { "sudo", "brightnessctl", "set", "+10%", NULL};
+static const char *brightdown[] = { "sudo", "brightnessctl", "set", "10%-", NULL};
static const char *audioup[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL };
static const char *audiodown[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL };
static const char *audiotoggle[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL };
-static const char *mpcnext[] = { "mpc", "next", NULL };
-static const char *mpctoggle[] = { "mpc", "toggle", NULL };
-static const char *mpcprev[] = { "mpc", "prev", NULL };
-static const char *mpcpause[] = { "mpc", "pause", NULL };
-static const char *ncmpcpp[] = { "alacritty", "-t", "ncmpcpp", "-e", "ncmpcpp", NULL };
-static const char *pamix[] = { "alacritty", "-t", "pamix", "-e", "pamix", NULL };
-static const char *mutt[] = { "alacritty", "-t", "mutt", "-e", "neomutt", NULL };
+static const char *mpcnext[] = { "mpc", "next", NULL };
+static const char *mpctoggle[] = { "mpc", "toggle", NULL };
+static const char *mpcprev[] = { "mpc", "prev", NULL };
+static const char *mpcpause[] = { "mpc", "pause", NULL };
+static const char *ncmpcpp[] = { "alacritty", "-t", "ncmpcpp", "-e", "ncmpcpp", NULL };
+static const char *pamix[] = { "alacritty", "-t", "pamix", "-e", "pamix", NULL };
+static const char *mutt[] = { "alacritty", "-t", "mutt", "-e", "neomutt", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -129,8 +131,8 @@ static Key keys[] = {
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
/* see <X11/XF86keysym.h> */
- { 0, 0x1008FF02,spawn, {.v = brightnessup} },
- { 0, 0x1008FF03,spawn, {.v = brightnessdown} },
+ { 0, 0x1008FF02,spawn, {.v = brightup} },
+ { 0, 0x1008FF03,spawn, {.v = brightdown} },
{ 0, 0x1008FF11,spawn, {.v = audiodown} },
{ 0, 0x1008FF12,spawn, {.v = audiotoggle} },
{ ShiftMask, 0x1008FF12,spawn, {.v = pamix} },