major status improvements

This commit is contained in:
vrd
2026-07-30 11:54:49 +03:00
committed by Venelin Dechkov
parent 5b8797bccd
commit 0e5b9f1473
7 changed files with 135 additions and 18 deletions
+6
View File
@@ -68,6 +68,8 @@ static const Layout layouts[] = {
// static const char* dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char* dmenucmd[] = { "dmenu_run", NULL };
static const char* termcmd[] = { "st", NULL };
static const char* bright_up[] = { "brightnessctl", "s", "-q", "3%+", NULL };
static const char* bright_down[] = { "brightnessctl", "s", "-q", "3%-", NULL };
static const char* screenshot [] = { "scrot", "-s", SCREEN_CAPS_DIR, NULL };
static void webbookmark(const Arg* arg){
@@ -83,6 +85,10 @@ static const Key keys[] = {
{ 0, XF86XK_AudioRaiseVolume, vene_inc_vol, {0 } },
{ 0, XF86XK_AudioLowerVolume, vene_dec_vol, {0 } },
{ 0, XF86XK_AudioMute, vene_toggle_vol, {0 } },
#if HAS_SW_BACKLIGHT
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = bright_up } },
{ 0, XF86XK_MonBrightnessDown,spawn, {.v = bright_down } },
#endif
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_s, togglebar, {0} },