Font size, backlight works again.

This commit is contained in:
Bartek Stalewski 2022-03-27 11:53:33 +02:00
parent 02944042ce
commit 56fedb2563
2 changed files with 4 additions and 4 deletions

View file

@ -6,8 +6,8 @@ static int centered = 0; /* -c option; centers dmenu on scree
static int min_width = 500; /* minimum width when centered */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"RobotoMono Nerd Font:style=Medium:size=12",
"Noto Color Emoji:style=Regular:size=14",
"RobotoMono Nerd Font:style=Medium:size=10",
"Noto Color Emoji:style=Regular:size=12",
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {

View file

@ -143,8 +143,8 @@ static Key keys[] = {
{ 0, XF86XK_AudioMicMute, spawn, SHCMD("sb-volume micmute") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5%; kill -46 $(pidof dwmblocks)") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -5%; kill -46 $(pidof dwmblocks)") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("pactl set-source-volume @DEFAULT_SOURCE@ +5%; kill -46 $(pidof dwmblocks)") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("pactl set-source-volume @DEFAULT_SOURCE@ -5%; kill -46 $(pidof dwmblocks)") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 10") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 10") },
};
/* button definitions */