Compare commits

...

5 Commits

Author SHA1 Message Date
Victor Timofei aa5b6090f8
Add poweroff & restart commands 2021-12-08 10:55:19 +02:00
Victor Timofei 34265b40bf
Try glass UI 2021-12-07 19:36:56 +02:00
Victor Timofei 830b9bcba0
Remove screenshot keybind 2021-06-29 22:34:13 +03:00
Victor Timofei ff4c5e5b38
Change opacity 2021-06-29 22:33:49 +03:00
Victor Timofei 8ec54b397b
Revert config 2021-06-27 23:10:47 +03:00
1 changed files with 11 additions and 8 deletions

View File

@ -13,7 +13,7 @@ static const unsigned int gappov = 10; /* vert outer gap between wind
static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const int vertpad = 5; /* vertical padding of bar */
static const int vertpad = 10; /* vertical padding of bar */
static const int sidepad = 10; /* horizontal padding of bar */
static const int horizontal_magin = 20; /* horizontal margin of bar */
static const char *fonts[] = { "GoMono Nerd Font:size=10" };
@ -24,15 +24,16 @@ static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_black[] = "#000000";
static const char col_cyan[] = "#005577";
static const char col_pink_red[] = "#99000f";
static const unsigned int baralpha = 0xd0;
static const unsigned int baralpha = 0x0b;
static const unsigned int borderalpha = OPAQUE;
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_pink_red, col_gray2 },
[SchemeNorm] = { col_gray3, col_black, col_gray2 },
[SchemeSel] = { col_gray4, col_black, col_gray2 },
};
static const unsigned int alphas[][3] = {
@ -45,8 +46,7 @@ static const unsigned int alphas[][3] = {
static const char *upvol[] = { "/home/vtimofei/scripts/volup", NULL };
static const char *downvol[] = { "/home/vtimofei/scripts/voldown", NULL };
static const char *mutevol[] = { "/home/vtimofei/scripts/mutetog", NULL };
static const char *screenshot[] = { "gnome-screenshot", NULL };
static const char *lock_screen[] = { "xscreensaver-command", "-lock", NULL };
static const char *lock_screen[] = { "slock", NULL };
/* tagging */
static const char *tags[] = { "", "", "", "", "", "", "", "", "", };
@ -98,17 +98,21 @@ static const char *dmenucmd[] = { "dmenu_run",
"-l", dmenulines,
"-m", dmenumon,
"-fn", dmenufont,
"-nb", col_gray1,
"-nb", col_black,
"-nf", col_gray3,
"-sb", col_cyan,
"-sf", col_gray4,
NULL };
static const char *termcmd[] = { "alacritty", NULL };
static const char *togglelang[] = { "/home/vtimofei/scripts/toggle-language", NULL };
static const char *poweroff[] = { "/home/vtimofei/scripts/poweroff", NULL };
static const char *reboot[] = { "/home/vtimofei/scripts/reboot", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_p, spawn, {.v = poweroff } },
{ MODKEY|ShiftMask, XK_r, spawn, {.v = reboot } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
@ -148,7 +152,6 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{ 0, XK_Print, spawn, {.v = screenshot } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)