Added some stuff to config file

This commit is contained in:
hellisabove
2025-06-22 15:16:12 +03:00
parent 6cd3aca985
commit 76616e90e1
2 changed files with 19 additions and 40 deletions
+19 -19
View File
@@ -26,16 +26,15 @@ static const char norm_border[] = "#091833";
static const char sel_fg[] = "#ea00d9";
static const char sel_bg[] = "#321959";
static const char sel_border[] = "#ea00d9";
/*static const char *colors[][3] = {
[SchemeNorm] = { norm_fg, norm_bg, norm_border },
[SchemeSel] = { sel_fg, sel_bg, sel_border },
};*/
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { norm_fg, norm_bg, norm_border },
[SchemeSel] = { sel_fg, sel_bg, sel_border },
};
/*static const char *colors[][3] = {
// fg bg border
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
};*/
/* tagging */
//tag names (upper left)
static const char *tags[] = { "1", "2", "3", "4", "5" };
@@ -77,18 +76,19 @@ 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", norm_bg, "-nf", norm_fg, "-sb", sel_bg, "-sf", sel_fg, NULL };
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
//sets st as the default terminal
static const char *termcmd[] = { "st", "-e", "zsh", 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 *dmenucmd[] = { "rofi", "-show", "drun", NULL};
/* sets st as the default terminal */
static const char *termcmd[] = { "kitty", "-e", "zsh", NULL };
/* volume controls */
static const char *upvol[] = { "amixer", "-q", "set", "Master", "5%+", "unmute", NULL };
static const char *downvol[] = { "amixer", "-q", "set", "Master", "5%-", "unmute", NULL };
static const char *mutevol[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
/* brightness controls */
static const char *light_up[] = { "brightnessctl", "--device", "amdgpu_bl0", "set", "+10%", NULL };
static const char *light_down[] = { "brightnessctl", "--device", "amdgpu_bl0", "set", "10%-", NULL };
static const char *kbdl_up[] = { "brightnessctl", "--device", "asus::kbd_backlight", "set", "+10%", NULL };
static const char *kbdl_down[] = {"brightnessctl", "--device", "asus::kbd_backlight", "set", "10%-", NULL };
static const char *light_up[] = { "brightnessctl", "--device", "intel_backlight", "set", "+10%", NULL };
static const char *light_down[] = { "brightnessctl", "--device", "intel_backlight", "set", "10%-", NULL };
//static const char *kbdl_up[] = { "brightnessctl", "--device", "asus::kbd_backlight", "set", "+10%", NULL };
//tatic const char *kbdl_down[] = {"brightnessctl", "--device", "asus::kbd_backlight", "set", "10%-", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -121,11 +121,11 @@ static Key keys[] = {
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
{ 0, XF86XK_AudioMute, spawn, {.v = mutevol } },
{ 0, XF86XK_KbdBrightnessUp, spawn, {.v = kbdl_up } },
{ 0, XF86XK_KbdBrightnessDown, spawn, {.v = kbdl_down } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = light_up } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = light_down } },
TAGKEYS( XK_1, 0)
// { 0, XF86XK_KbdBrightnessUp, spawn, {.v = kbdl_up } },
// { 0, XF86XK_KbdBrightnessDown, spawn, {.v = kbdl_down } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = light_up } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = light_down } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)