fontawesome hinzugefügt

This commit is contained in:
Özgür Kesim 2022-01-31 12:43:13 +01:00
parent 7d9873cf1a
commit 6225e0c4c1
2 changed files with 34 additions and 30 deletions

View File

@ -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 },
};
@ -72,8 +74,8 @@ static const Layout layouts[] = {
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 *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 };
@ -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} },

View File

@ -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 },
};
@ -72,8 +74,8 @@ static const Layout layouts[] = {
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 *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 };
@ -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} },