diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-24 16:30:06 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-24 16:30:06 +0200 |
commit | c9b9b615d0775ea3a8da2323faff35b368e4e132 (patch) | |
tree | b242cd184e2e2ebfd4b413c79823abd1d6651d94 /pkgs/dwm/dwm-apps.diff | |
parent | dcaa3369cf67736bc00864831e4a8c5041443a42 (diff) | |
download | pnpkgs-c9b9b615d0775ea3a8da2323faff35b368e4e132.tar.gz pnpkgs-c9b9b615d0775ea3a8da2323faff35b368e4e132.zip |
Update
Diffstat (limited to 'pkgs/dwm/dwm-apps.diff')
-rw-r--r-- | pkgs/dwm/dwm-apps.diff | 38 |
1 files changed, 10 insertions, 28 deletions
diff --git a/pkgs/dwm/dwm-apps.diff b/pkgs/dwm/dwm-apps.diff index 9204fcb..3e29c5a 100644 --- a/pkgs/dwm/dwm-apps.diff +++ b/pkgs/dwm/dwm-apps.diff @@ -1,39 +1,21 @@ diff --git a/config.h b/config.h -index 6c880c2..0d9eaf8 100644 +index 780550a..e4d4716 100644 --- a/config.h +++ b/config.h -@@ -51,6 +51,7 @@ static const Rule rules[] = { - { NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, -1 }, - { NULL, "spterm", NULL, SPTAG(0), 0, 1, 1, 0, -1 }, - { NULL, "spcalc", NULL, SPTAG(1), 0, 1, 1, 0, -1 }, -+ { NULL, "telegram-desktop", NULL, 0, 1, 1, 0, 0, -1 }, +@@ -55,6 +55,7 @@ static const Rule rules[] = { + { NULL, NULL, "Event Tester", 0, 0, 0, 0, 1, -1 }, + { NULL, "spterm", NULL, SPTAG(0), 0, 1, 1, 0, -1 }, + { NULL, "spcalc", NULL, SPTAG(1), 0, 1, 1, 0, -1 }, ++ { NULL, "telegram-desktop", NULL, 0, 1, 1, 0, 0, -1 }, }; - + /* layout(s) */ @@ -102,7 +103,7 @@ 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", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-i", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, "-c", "-bw", "2", "-l", "15", NULL }; - static const char *termcmd[] = { "st", NULL }; - + static const char *termcmd[] = { TERMINAL, NULL }; + #include <X11/XF86keysym.h> -@@ -154,7 +155,7 @@ static Key keys[] = { - { MODKEY|ShiftMask, XK_bracketleft, spawn, SHCMD("mpc seek -60") }, - { MODKEY, XK_bracketright, spawn, SHCMD("mpc seek +10") }, - { MODKEY|ShiftMask, XK_bracketright, spawn, SHCMD("mpc seek +60") }, -- { MODKEY, XK_backslash, view, {0} }, -+ { MODKEY, XK_backslash, spawn, SHCMD("telegram-desktop") }, - /* { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("") }, */ - - { MODKEY, XK_a, togglegaps, {0} }, -@@ -174,7 +175,7 @@ static Key keys[] = { - { MODKEY, XK_h, setmfact, {.f = -0.05} }, - /* J and K are automatically bound above in STACKEYS */ - { MODKEY, XK_l, setmfact, {.f = +0.05} }, -- { MODKEY, XK_semicolon, shiftview, { .i = 1 } }, -+ { MODKEY, XK_semicolon, spawn, SHCMD("alacritty -e emacs -nw") }, - { MODKEY|ShiftMask, XK_semicolon, shifttag, { .i = 1 } }, - { MODKEY, XK_apostrophe, togglescratch, {.ui = 1} }, - /* { MODKEY|ShiftMask, XK_apostrophe, spawn, SHCMD("") }, */ |