diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-29 22:12:48 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-29 22:12:48 +0200 |
commit | 5d3c8e21d2d79a6ed3e324b833002a9bb0317b34 (patch) | |
tree | 08e26e0a885d575c8399fb65bbef3ddc2ad233db /platforms/linux/xorg/dwm-apps.diff | |
parent | a24f50c8a264fd0e42c789f4cf16a8796ab97e47 (diff) | |
download | dots-5d3c8e21d2d79a6ed3e324b833002a9bb0317b34.tar.gz dots-5d3c8e21d2d79a6ed3e324b833002a9bb0317b34.zip |
Linux config
Diffstat (limited to 'platforms/linux/xorg/dwm-apps.diff')
-rw-r--r-- | platforms/linux/xorg/dwm-apps.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/platforms/linux/xorg/dwm-apps.diff b/platforms/linux/xorg/dwm-apps.diff new file mode 100644 index 0000000..b5d7474 --- /dev/null +++ b/platforms/linux/xorg/dwm-apps.diff @@ -0,0 +1,30 @@ +diff --git a/config.h b/config.h +index 780550a..e8d3805 100644 +--- a/config.h ++++ b/config.h +@@ -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[] = { TERMINAL, NULL }; + + #include <X11/XF86keysym.h> +@@ -158,7 +159,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} }, |