dwm: cambios menores en config.h

This commit is contained in:
Tuxliban Torvalds 2021-12-26 14:34:50 -06:00
parent e063685e5b
commit d65ad006dd
1 changed files with 24 additions and 17 deletions

View File

@ -11,7 +11,10 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, di
static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "Ubuntu Mono:size=8" };
static const char *fonts[] = { "Ubuntu Mono:size=8",
"Font Awesome 5 Free Solid:size=8:antialias=true:autohint=true",
"Font Awesome 5 Free Regular:size=8:antialias=true:autohint=true",
"Font Awesome 5 Brands Regular:size=8:antialias=true:autohint=true", };
static const char dmenufont[] = "Ubuntu Condensed:size=13";
static const char col_01[] = "#1c1f22"; /* Color de la barra de estado en reposo*/
static const char col_02[] = "#1c1f22"; /* Color del borde de pantalla desenfocada */
@ -26,7 +29,7 @@ static const char *colors[][3] = {
};
/* tagging */
//static const char *tags[] = { "", "", "", "", "", "", "" };
//static const char *tags[] = { "", "", "", "", "", "", "" };
static const char *tags[] = { "", "", "", "", "", "" };
static const Rule rules[] = {
@ -34,17 +37,18 @@ static const Rule rules[] = {
* WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
{ "Nnn", NULL, NULL, 1 << 0, 0, -1 },
{ "Gimp", NULL, NULL, 1 << 3, 0, -1 },
{ "Mozilla Firefox", NULL, NULL, 1 << 1, 0, -1 },
{ "Google Chrome", NULL, NULL, 1 << 6, 0, -1 },
{ "Galculator", NULL, NULL, 0, 1, -1 },
{ "Openshot-qt", NULL, NULL, 1 << 3, 0, -1 }, // Editor de videos
{ "Telegram", NULL, NULL, 1 << 2, 0, -1 },
{ "Lxappearance", NULL, NULL, 0, 1, -1 },
{ "Libreoffice", NULL, "Abrir", 0, 1, -1 },
{ "st-256color", NULL, "warning", 0, 1, -1 },
/* class instance title tags mask isfloating monitor */
{ "URxvt", NULL, "Administrador de archivos", 1 << 0, 0, -1 },
{ "Gimp", NULL, NULL, 1 << 3, 0, -1 },
{ "Firefox", NULL, NULL, 1 << 1, 0, -1 },
{ "Google-chrome", NULL, NULL, 1 << 6, 0, -1 },
{ "Galculator", NULL, NULL, 0, 1, -1 },
{ "Openshot-qt", NULL, NULL, 1 << 3, 0, -1 }, // Editor de videos
{ "Telegram", NULL, NULL, 1 << 2, 0, -1 },
{ "Lxappearance", NULL, NULL, 0, 1, -1 },
{ "LibreOffice 7.1", NULL, "Abrir", 0, 1, -1 },
{ "URxvt", NULL, "warning", 0, 1, -1 },
{ "st-256color", "st-256color", "tg", 1 << 2, 0, -1 },
};
@ -74,12 +78,14 @@ 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", col_01, "-nf", col_03, "-sb", col_06, "-sf", col_04, NULL };
static const char *termcmd[] = { "st", "-t", "Enter the Void", NULL }; /* Emulador de consola */
//static const char *termcmd[] = { "st", "-t", "Enter the Void", NULL }; /* Terminal */
static const char *termcmd[] = { "dterm", NULL }; /* Script custom para la terminal */
/* Comandos personalizados */
static const char *menucmd[] = { "menu-apagar", NULL };
static const char *screencastcmd[] = { "gvideo", NULL };
static const char *nnncmd[] = { "st", "-T", "Administrador de archivos", "-e", "nnn", NULL };
//static const char *nnncmd[] = { "st", "-T", "Administrador de archivos", "-e", "nnn", NULL };
static const char *nnncmd[] = { "urxvtc", "-title", "Administrador de archivos", "-e", "nnn", "-QUErxe", "-s", "trabajo", NULL };
static const char *firefoxcmd[] = { "firefox", NULL };
static const char *chrome[] = { "glibc", "google-chrome", NULL };
static const char *telegramcmd[] = { "glibc","telegram", NULL };
@ -91,6 +97,7 @@ static const char scratchpadname[] = "scratchpad";
static const char *scratchpadcmd[] = { "st", "-t", "scratchpad", "-g", "140x40+400+220", NULL };
static const char *dropboxcmd[] = { "tbox", "--toggle", NULL };
static const char *wificmd[] = { "wifi", "--toggle", NULL };
static const char *tgcmd[] = { "st", "-e", "tg", NULL };
/* Control de volumen ALSA */
static const char *volupcmd[] = { "amixer", "-q", "sset", "Master", "5%+", NULL };
@ -129,11 +136,11 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
/* Atajos personalizados */
// { MODKEY, XK_F1, spawn, {.v = nnncmd } },
{ MODKEY, XK_F1, spawn, {.v = nnncmd } },
{ ControlMask, XK_F1, spawn, {.v = chrome } },
{ MODKEY, XK_F2, spawn, {.v = firefoxcmd } },
{ MODKEY, XK_F3, spawn, {.v = telegramcmd } },
{ ControlMask, XK_F3, spawn, {.v = telegramcmd } },
{ MODKEY, XK_F3, spawn, {.v = tgcmd } }, // Telegram CLI
{ MODKEY, XK_F4, spawn, {.v = gimpcmd } },
{ ControlMask, XK_F4, spawn, {.v = openshotcmd } },
{ MODKEY, XK_x, spawn, {.v = menucmd } }, // Atajo menú Apagar