summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMouad Alami <mouad@alami.xyz>2024-01-15 10:15:54 +0100
committerMouad Alami <mouad@alami.xyz>2024-01-15 10:15:54 +0100
commit78c3053eac670e2f2ede050ce501547804372893 (patch)
tree775bda60429b72360fb2c079aa55dd3fc77f1af4 /config.h
parent757acbdc5249772b9a5e9d9c44b2692c153e0ccc (diff)
Reverted alternativetags patch and added mod+n for clipmenu
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/config.h b/config.h
index 421128a..27b0688 100644
--- a/config.h
+++ b/config.h
@@ -37,8 +37,6 @@ static const char *dec_bright[] = { "/home/mouad/.local/bin/brightness/dec_brigh
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
-static const char *tagsalt[] = { "", "", "", "", "", "", "", "", "" };
-static const int momentaryalttags = 1; /* 1 means alttags will show only when key is held down*/
static const Rule rules[] = {
/* xprop(1):
@@ -110,7 +108,6 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
- { MODKEY, XK_n, togglealttag, {0} },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{MODKEY, XK_s, togglesticky, {0}},
@@ -160,8 +157,8 @@ static const Key keys[] = {
{0, XF86XK_AudioPlay, spawn, SHCMD("playerctl play-pause")},
{MODKEY, XK_e, spawn, SHCMD("xdotool type $(grep -Ev '^($|#)' ~/.config/bookmarks | dmenu -i -l 50 | cut -d' ' -f1)")},
+ {MODKEY, XK_n, spawn, SHCMD("clipmenu")},
- /* screenshot */
{MODKEY, XK_F12, spawn, SHCMD("scrot -e 'mv $f /home/mouad/Pictures/Screenshots/' && notify-send '📸 Screenshot taken'")},
};