aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.def.h4
-rw-r--r--dwm.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 5fea737..c4fa0ed 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,7 +10,7 @@ static const unsigned int systrayonleft = 0; /* 0: systray in the right corne
static const unsigned int systrayspacing = 2; /* systray spacing */
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
static const int showsystray = 1; /* 0 means no systray */
-static const int showbar = 1; /* 0 means no bar */
+static const int showbar = 0; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const int user_bh = 30; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */
static const int focusonwheel = 0;
@@ -167,6 +167,7 @@ static const char *dmlog_cmd[] = { "dmlog", NULL };
static const char *dmpass_full_cmd[] = { "dmpass", "--full", NULL };
static const char *dmpass_cmd[] = { "dmpass", NULL };
static const char *dmotp_cmd[] = { "dmotp", NULL };
+static const char *dmclip_cmd[] = { "dmclip", NULL };
static const char *ndate_cmd[] = { "ndate", NULL };
// static const char *file_cmd[] = { "alacritty", "-e", "zsh", "-ic", "lf", NULL };
// static const char *file_alt_cmd[] = { "pcmanfm", NULL };
@@ -221,6 +222,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_F11, spawn, {.v = vol_dec_cmd } },
{ MODKEY|ShiftMask, XK_F12, spawn, {.v = vol_inc_cmd } },
{ MODKEY|ShiftMask, XK_Delete, spawn, {.v = mic_cmd } },
+ { MODKEY|ControlMask, XK_F7, dmenuspawn, {.v = dmclip_cmd } },
{ MODKEY|ControlMask, XK_F8, dmenuspawn, {.v = dmbookm_cmd } },
{ MODKEY|ControlMask, XK_F9, dmenuspawn, {.v = dmkill_cmd } },
{ MODKEY|ControlMask, XK_F10, dmenuspawn, {.v = dmscrot_cmd } },
diff --git a/dwm.c b/dwm.c
index 5639a54..475e2a0 100644
--- a/dwm.c
+++ b/dwm.c
@@ -3478,8 +3478,10 @@ view(const Arg *arg)
selmon->tagset[selmon->seltags] = arg->ui & TAGMASK;
selmon->pertag->prevtag = selmon->pertag->curtag;
- if (arg->ui == ~0)
+ if (arg->ui == ~0) {
+ selmon->tagset[selmon->seltags] = 0x1ff;
selmon->pertag->curtag = 0;
+ }
else {
for (i = 0; !(arg->ui & 1 << i); i++) ;
selmon->pertag->curtag = i + 1;