commit d290d039e97aa0fbbff8c4cdf61954dbc7d5741f
parent 7e9bc74c2220ec5210e857c6cd8408631a510687
Author: Matsuda Kenji <info@mtkn.jp>
Date: Sun, 27 Apr 2025 16:46:48 +0900
modify for u9310
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/config.h b/config.h
@@ -5,7 +5,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "Go Mono:size=12", "Noto Serif CJK JP:size=12", "Font Awesome 5 Free:size=12", "Noto Color Emoji:size=12"};
+static const char *fonts[] = { "Go Mono:size=5", "Noto Serif CJK JP:size=5", "Font Awesome 5 Free:size=5", "Noto Color Emoji:size=5"};
static const char dmenufont[] = "Go Mono:size=8";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
@@ -70,7 +70,6 @@ static Key keys[] = {
{ MODKEY, XK_n, spawn, SHCMD("jinput") },
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_p, spawn, SHCMD("pass dmenu") },
- /*{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },*/
{ MODKEY|ShiftMask, XK_Return, spawn, SHCMD("$TERMINAL") },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
@@ -93,6 +92,10 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_F6, spawn, SHCMD("xbacklight -dec 5 -time 0 -steps 1") },
+ { MODKEY, XK_F7, spawn, SHCMD("xbacklight -inc 5 -time 0 -steps 1") },
+ { MODKEY|ShiftMask, XK_F6, spawn, SHCMD("xbacklight -dec 1 -time 0 -steps 1") },
+ { MODKEY|ShiftMask, XK_F7, spawn, SHCMD("xbacklight -inc 1 -time 0 -steps 1") },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)