Commit Graph

142 Commits

Author SHA1 Message Date
Sanchayan Maity dd98add343 config: Update dwm config as per our requirements
On start up, do the following
1. Invoke feh and set up wallpaper
2. Start slstatus for status bar
3. Start picom for transparency
4. Set up keyboard layout

Update key bindings for
1. Quitting dwm
2. Add ones for taking screen shot
3. MODKEY using SUPER instead of ALT
4. Spawning terminal
5. zoom

We switch to using JetBrains Mono for the font as default.
2020-11-08 14:30:29 +05:30
Sanchayan Maity c8d0c2af35 Enable default transparency 2020-11-08 12:45:37 +05:30
Jakub Leszczak 7433d261b2 Respect decoration hints
Make dwm respect _MOTIF_WM_HINTS property.  Applications use this
property to notify window managers to not draw window decorations.

Not respecting this property leads to issues with applications that draw
their own borders, like chromium (with "Use system title bar and
borders" turned off) and vlc in fullscreen mode.
2020-10-15 15:18:43 +05:30
Sanchayan Maity ee4e8e08ea Apply cool autostart patch 2020-10-15 15:17:27 +05:30
Hiltjo Posthuma c3a2e016bb config.def.h: ClkTagBar missing from comment
by Christopher Drelich <cd@cdrakka.com>

Patch was mangled on the ML, also adjusted the order to be the same as
the enum in dwm.c
2018-05-25 06:56:36 +02:00
Markus Teich 2952b68db8 cleanup
- unify multi-line expression alignment style.
- unify multi-line function call alignment style.
- simplify client moving on monitor count decrease.
- clarify comment for focusin().
- remove old confusing comment about input focus fix in focusmon(). The
  explanation is already in the old commit message, so no need to keep it in the
  code.
- remove old comment describing even older state of the code in focus().
- unify comment style.
- break up some long lines.
- fix some typos and grammar.
2017-03-28 20:23:28 +02:00
Anselm R Garbe 975c898376 applied Markus' decouple color-scheme patch 2016-12-05 10:01:33 +01:00
Hiltjo Posthuma 56a31dc4a7 config.def.h: style improvement, use color Scheme enum 2016-06-28 18:04:56 +02:00
Markus Teich 7af4d439bd import new drw from libsl and minor fixes.
- better scaling for occupied tag squares.
- draw statusline first to omitt some complicated calculations.
2016-06-26 13:52:36 +02:00
Hiltjo Posthuma 3c91283ede unboolification 2015-11-08 22:48:43 +01:00
Hiltjo Posthuma 43e82adf0d separate program-specific c99 bool and X11
True, False are X11-specific (int), make sure to use c99 stdbool for
program-specific things.
2015-11-08 20:35:25 +01:00
Hiltjo Posthuma 7e1182ce55 config.h: use common default font, pass Xft font name to dmenu
dmenu uses Xft now (soon to be released).
2015-10-20 23:10:54 +02:00
Eric Pruitt 14343e69cc Add Xft and follback-fonts support to graphics lib 2015-03-13 21:44:22 +01:00
Anselm R Garbe 6af273771c applied improved version of Martti Kühne's dmenu/multi monitor approach from dwm, no dmenuspawn required 2013-08-02 22:40:20 +02:00
Anselm R Garbe 4fb31e0896 do not take our font declaration as default for st 2013-07-20 09:08:46 +02:00
Anselm R Garbe 7edc596311 include font argument for st by default 2013-05-02 17:31:22 +02:00
Anselm R Garbe 656882d76f use st as default terminal from now on 2013-05-01 15:41:44 +02:00
anselm@garbe.us 61fe833a06 reverting to plain X11 fonts in order to implement draw.c default 2012-11-18 10:56:54 +01:00
anselm@garbe.us fd3c19bd55 incorporating Xft instead of cairo, cairo provides far too many options 2012-11-02 12:17:50 +01:00
anselm@garbe.us c4b6ac812e added 20h's clarification 2012-01-22 20:23:49 +01:00
Connor Lane Smith f099d2d5b5 new default colour scheme 2011-11-06 20:36:23 +01:00
Connor Lane Smith b1a28ae1da apply nmaster patch 2011-10-25 20:40:46 +01:00
anselm@garbe.us c6180949a7 applied Sylvain Laurent's EWMH fullscreen state patch, simplified his patch a bit 2010-05-27 08:19:08 +01:00
Anselm R Garbe c3feffa1e2 applied Tony Lainson's config.def.h patch 2009-09-15 13:50:41 +01:00
Anselm R Garbe 758b100d12 extended rule to apply monitors if set up accordingly 2009-07-09 21:52:17 +01:00
Anselm R Garbe 565050ac51 removed monsyms, useless 2009-07-09 11:29:01 +01:00
Anselm R Garbe 5e408d8ff6 restricting number of mons by length of monsyms 2009-07-09 11:21:06 +01:00
Anselm R Garbe 1724f7fa43 introducing const where it might make some sense 2009-07-08 18:59:20 +01:00
Anselm R Garbe a9e145fe6d changed focusmon/tagmon to work on prev/next instead (-1/+1), changed shortcuts to Mod1-, Mod1-. and Mod1-Shift-, Mod1-Shift-. 2009-07-02 20:37:26 +01:00
Anselm R Garbe ca376970db more sensible 2009-07-02 16:48:54 +01:00
Anselm R Garbe 8352f2b3a8 hmm, can't decide on the default monitor symbol set 2009-07-02 16:47:00 +01:00
Anselm R Garbe d4bfde79f3 update 2009-07-02 16:44:57 +01:00
Anselm R Garbe 7ac8c1d4e1 introduced monitor symbols 2009-07-02 16:41:52 +01:00
Anselm R Garbe 1d729384d1 several bugfixes 2009-07-01 19:15:20 +01:00
Anselm R Garbe 1ddfc571ae several simplifications 2009-06-30 19:39:59 +01:00
Anselm R Garbe c2fff604a7 we need a tagset per monitor, removed tagset declaration from config.h 2009-06-20 17:02:55 +01:00
Anselm R Garbe 2ce37bc69e experimental xinerama support, two new actions, Mod1-w/e and Mod1-Shift-w/e 2009-06-20 15:10:04 +01:00
Anselm R Garbe 2dbfda72f0 removed MAXTAGLEN 2009-05-29 09:29:22 +01:00
Anselm R Garbe 565697087b applied Gottox' patches, and also removed usegrab 2009-03-17 19:53:00 +00:00
a@null 0b5dcf229f applied Neale Pickett's xprop status reading patch, updated README and dwm.1 accordingly 2008-12-12 19:49:06 +00:00
Anselm R Garbe ea8a4ca46a several changes towards 5.3, XINERAMA is disabled by default, introduced usegrab Bool for grabbing the server during mouse-based resizals/movements (disabled by default), continued debugging tile() with resizehints == True and a lot of terminals supporting resizehints, still no optimal solution, I need to think about it, considering recursive algorithm for the space optimization 2008-10-19 12:59:18 +01:00
Anselm R Garbe ec11a3470c introduced NOBORDER macro to hide the nasty - 2 * c->bw in various calculations, moved tagset to config.def.h 2008-08-27 12:52:44 +01:00
Anselm R Garbe 051a404b66 added a comment about FAQ regarding mfact meaning 2008-08-18 09:11:15 +01:00
Anselm R Garbe b279cef670 made readin a config.h variable 2008-08-02 19:12:15 +01:00
Premysl Hruby 78f0f8595f make hg tip compilable with default config 2008-07-18 10:57:32 +02:00
Anselm R Garbe c86ed46a1b got rid of compile time xidx configuration, querying mouse pointer instead 2008-07-16 18:33:51 +01:00
Anselm R Garbe a6d23fb61c removed useless comment 2008-07-02 11:19:02 +01:00
Anselm R Garbe 829b6b57e7 removed useless characters 2008-06-24 12:40:48 +01:00
Anselm R Garbe b86c818599 applied Gottox' ClkTagBar patch 2008-06-20 16:52:07 +01:00
Anselm R Garbe 12ea925076 untested monocle 2008-06-19 11:38:53 +01:00