diff options
| -rw-r--r-- | config.h | 6 | ||||
| -rw-r--r-- | monsterwm.c | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -17,7 +17,7 @@ #define DEFAULT_MODE TILE /* initial layout/mode: TILE MONOCLE BSTACK GRID FLOAT */ #define ATTACH_ASIDE True /* False means new window is master */ #define FOLLOW_WINDOW False /* follow the window when moved to a different desktop */ -#define FOLLOW_MOUSE True /* focus the window the mouse just entered */ +#define FOLLOW_MOUSE False /* focus the window the mouse just entered */ #define CLICK_TO_FOCUS True /* focus an unfocused window when clicked */ #define FOCUS_BUTTON Button3 /* mouse button to be used along with CLICK_TO_FOCUS */ #define BORDER_WIDTH 2 /* window border width */ @@ -53,8 +53,8 @@ static const char* lock[] = { "lock", NULL }; #define XF86AudioLowerVolume 0x1008ff11 #define XF86AudioRaiseVolume 0x1008ff13 #define XF86AudioMute 0x1008ff12 -static const char *vol_dn[] = { "pactl", "set-sink-volume", "0", "-5%", NULL }; -static const char *vol_up[] = { "pactl", "set-sink-volume", "0", "+5%", NULL }; +static const char *vol_dn[] = { "pactl", "set-sink-volume", "0", "-1%", NULL }; +static const char *vol_up[] = { "pactl", "set-sink-volume", "0", "+1%", NULL }; static const char *vol_mt[] = { "pactl", "set-sink-mute", "0", "toggle", NULL }; #define DESKTOPCHANGE(K,N) \ diff --git a/monsterwm.c b/monsterwm.c index 85c0b75..61f10d5 100644 --- a/monsterwm.c +++ b/monsterwm.c @@ -417,7 +417,7 @@ void write_status(void) { printf("%%{l}"); for (int w = 0, i = 0; i < DESKTOPS; i++, w = 0, urgent = False) { for (d = &desktops[i], c = d->head; c; urgent |= c->isurgn, ++w, c = c->next); - if (w>0) { + if (w>0 || i == currdeskidx) { printf("[%c%d%c] ", urgent ? '!' : ' ', i, i == currdeskidx ? '*' : ' '); } } |
