diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -5,8 +5,8 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "Liberation Mono:size=10" }; -static const char dmenufont[] = "Liberation Mono:size=10"; +static const char *fonts[] = { "CommitMono Nerd Font Mono:size=9" }; +static const char dmenufont[] = "CommitMono Nerd Font Mono:size=9"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; @@ -64,6 +64,8 @@ static const char *termcmd[] = { "st", "/usr/bin/fish", NULL }; static const Key keys[] = { /* modifier key function argument */ + { MODKEY, XK_grave, spawn, {.v = (const char*[]){"slock", NULL } } }, + { MODKEY|ShiftMask, XK_grave, togglebar, {0} }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -80,10 +82,10 @@ static const Key keys[] = { { MODKEY|ShiftMask, XK_e, quit, {0} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, /* { MODKEY, XK_i, incnmaster, {.i = +1 } }, */ - { MODKEY, XK_o, spawn, {.v = (const char*[]){"gousermenu", "-t", NULL } } }, - { MODKEY|ShiftMask, XK_o, spawn, {.v = (const char*[]){"gousermenu", NULL } } }, - { MODKEY, XK_p, spawn, {.v = (const char*[]){"gopassmenu", "-t", NULL } } }, - { MODKEY|ShiftMask, XK_p, spawn, {.v = (const char*[]){"gopassmenu", NULL } } }, + { MODKEY, XK_o, spawn, {.v = (const char*[]){"passmenu", "-u", "-t", NULL } } }, + { MODKEY|ShiftMask, XK_o, spawn, {.v = (const char*[]){"passmenu","-u", NULL } } }, + { MODKEY, XK_p, spawn, {.v = (const char*[]){"passmenu", "-t", NULL } } }, + { MODKEY|ShiftMask, XK_p, spawn, {.v = (const char*[]){"passmenu", NULL } } }, { MODKEY, XK_bracketleft, spawn, {.v = (const char*[]){"mpc", "seek", "0", NULL } } }, { MODKEY|ShiftMask, XK_bracketleft, spawn, {.v = (const char*[]){"mpc", "prev", NULL } } }, { MODKEY, XK_bracketright, spawn, {.v = (const char*[]){"mpc", "next", NULL } } }, @@ -98,18 +100,22 @@ static const Key keys[] = { { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, - { MODKEY, XK_b, togglebar, {0} }, - { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_x, spawn, {.v = (const char*[]){"librewolf", NULL } } }, - { MODKEY|ShiftMask, XK_x, spawn, {.v = (const char*[]){"librewolf", "--private-window", NULL } } }, - { MODKEY, XK_c, spawn, {.v = (const char*[]){"surf", "duckduckgo.com/html", NULL } } }, - { MODKEY|ShiftMask, XK_c, spawn, {.v = (const char*[]){"surf","-i", "duckduckgo.com/html", NULL } } }, + { MODKEY, XK_z, spawn, {.v = (const char*[]){"firfox", NULL } } }, + { MODKEY|ShiftMask, XK_z, spawn, {.v = (const char*[]){"firfox", "--private-window", NULL } } }, + { MODKEY, XK_x, spawn, {.v = (const char*[]){"secure_browser", NULL } } }, + { MODKEY|ShiftMask, XK_x, spawn, {.v = (const char*[]){"secure_browser", "--private-window", NULL } } }, + { MODKEY, XK_c, spawn, {.v = (const char*[]){"surf", "https://lite.duckduckgo.com/lite", NULL } } }, + { MODKEY|ShiftMask, XK_c, spawn, {.v = (const char*[]){"surf","-p", "https://lite.duckduckgo.com/lite", NULL } } }, + { MODKEY, XK_b, spawn, SHCMD("get-bookmark | xdotool type --clearmodifiers --file -") }, + { MODKEY|ShiftMask, XK_b, spawn, SHCMD("get-bookmark | xsel -ib") }, + { MODKEY, XK_n, spawn, SHCMD("xsel -ob | save-bookmark") }, + { MODKEY, XK_m, spawn, SHCMD("xsel -ob | linkmenu") }, { 0, XF86XK_AudioMute, spawn, {.v = (const char*[]){"wpctl", "set-mute", "@DEFAULT_AUDIO_SINK@", "toggle", NULL} } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = (const char*[]){"wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "0.05-", NULL} } }, |