Browse Source

after switching to OpenBSD again, I switched back to a saner color scheme

master
arg@localhost.10kloc.org 18 years ago
parent
commit
1b9fe55025
2 changed files with 10 additions and 8 deletions
  1. +7
    -5
      client.c
  2. +3
    -3
      config.arg.h

+ 7
- 5
client.c View File

@ -73,12 +73,14 @@ focus(Client *c)
{ {
Client *old = sel; Client *old = sel;
if (!issel)
if(!issel)
return; return;
if(sel && sel->ismax && sel != c)
togglemax(NULL);
sel = c;
if(old && old != c) {
if(!sel)
sel = c;
else if(sel != c) {
if(sel->ismax)
togglemax(NULL);
sel = c;
grabbutton(old, AnyButton, 0); grabbutton(old, AnyButton, 0);
drawtitle(old); drawtitle(old);
} }


+ 3
- 3
config.arg.h View File

@ -9,9 +9,9 @@ const char *tags[] = { "work", "net", "fnord", NULL };
#define DEFMODE dotile /* dofloat */ #define DEFMODE dotile /* dofloat */
#define DEFTAG 0 /* index */ #define DEFTAG 0 /* index */
#define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*" #define FONT "-*-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-*"
#define BGCOLOR "#0d121d"
#define BGCOLOR "#666699"
#define FGCOLOR "#eeeeee" #define FGCOLOR "#eeeeee"
#define BORDERCOLOR "#3f484d"
#define BORDERCOLOR "#9999CC"
#define MODKEY Mod1Mask #define MODKEY Mod1Mask
#define MASTERW 60 /* percent */ #define MASTERW 60 /* percent */
@ -19,7 +19,7 @@ const char *tags[] = { "work", "net", "fnord", NULL };
static Key key[] = { \ static Key key[] = { \
/* modifier key function arguments */ \ /* modifier key function arguments */ \
{ MODKEY|ShiftMask, XK_Return, spawn, \ { MODKEY|ShiftMask, XK_Return, spawn, \
{ .cmd = "exec urxvt +sb -tr -bg black -fg '#eeeeee' -fn '"FONT"'" } }, \
{ .cmd = "exec uxterm -bg '#dddddd' -fg '#000000' -cr '#000000' +sb -fn '"FONT"'" } }, \
{ MODKEY, XK_p, spawn, \ { MODKEY, XK_p, spawn, \
{ .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \ { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null | " \
"awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \ "awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort -u | dmenu`" } }, \


Loading…
Cancel
Save