added dmenu-man, changed mod+f1
This commit is contained in:
parent
46afebd65b
commit
72602b077b
13
config.h
13
config.h
@ -33,8 +33,9 @@ static const Rule rules[] = {
|
|||||||
* WM_CLASS(STRING) = instance, class
|
* WM_CLASS(STRING) = instance, class
|
||||||
* WM_NAME(STRING) = title
|
* WM_NAME(STRING) = title
|
||||||
*/
|
*/
|
||||||
/* class instance title tags mask isfloating monitor */
|
/* class instance title tags mask isfloating monitor */
|
||||||
{ "st-256color", "st", "pulsemixer", 0, 1, -1 },
|
{ "st-256color", "st", "pulsemixer", 0, 1, -1 },
|
||||||
|
{ "st-256color", "st", "System Search", 0, 1, -1 },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* monitor rules */
|
/* monitor rules */
|
||||||
@ -88,9 +89,10 @@ static const Key keys[] = {
|
|||||||
{ MODKEY, XK_z, spawn, SHCMD("boomer") },
|
{ MODKEY, XK_z, spawn, SHCMD("boomer") },
|
||||||
{ MODKEY, XK_c, spawn, SHCMD("gcolor2") },
|
{ MODKEY, XK_c, spawn, SHCMD("gcolor2") },
|
||||||
{ MODKEY, XK_n, spawn, SHCMD("st nvim") },
|
{ MODKEY, XK_n, spawn, SHCMD("st nvim") },
|
||||||
|
{ MODKEY|ShiftMask, XK_n, spawn, SHCMD("st ncmpcpp") },
|
||||||
{ MODKEY, XK_x, spawn, SHCMD("xkill") },
|
{ MODKEY, XK_x, spawn, SHCMD("xkill") },
|
||||||
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("sss -c") },
|
{ MODKEY|ShiftMask, XK_s, spawn, SHCMD("sss -c") },
|
||||||
{ MODKEY|ShiftMask, XK_bar, spawn, SHCMD("plumb $(xclip -o)") },
|
{ MODKEY, XK_bar, spawn, SHCMD("plumb $(xclip -o)") },
|
||||||
{ MODKEY, XK_u, spawn, SHCMD("dmenu-unicode") },
|
{ MODKEY, XK_u, spawn, SHCMD("dmenu-unicode") },
|
||||||
{ MODKEY, XK_p, spawn, SHCMD("dmenu-pass") },
|
{ MODKEY, XK_p, spawn, SHCMD("dmenu-pass") },
|
||||||
{ MODKEY|ShiftMask, XK_p, spawn, SHCMD("dmenu-pass --type") },
|
{ MODKEY|ShiftMask, XK_p, spawn, SHCMD("dmenu-pass --type") },
|
||||||
@ -100,10 +102,11 @@ static const Key keys[] = {
|
|||||||
{ MODKEY|ShiftMask, XK_c, spawn, SHCMD("dmenu-kdeconnect") },
|
{ MODKEY|ShiftMask, XK_c, spawn, SHCMD("dmenu-kdeconnect") },
|
||||||
|
|
||||||
/* function keys */
|
/* function keys */
|
||||||
{ MODKEY, XK_F1, spawn, SHCMD("st -e sh -c 'cd ~/Documents/Code/NixFiles'")},
|
{ MODKEY, XK_F1, spawn, SHCMD("dmenu-man")},
|
||||||
{ MODKEY, XK_F2, spawn, SHCMD("librewolf https://search.nixos.org")},
|
{ MODKEY, XK_F2, spawn, SHCMD("librewolf https://search.nixos.org")},
|
||||||
{ MODKEY, XK_F3, spawn, SHCMD("st -e sh -c 'search; exit'")},
|
{ MODKEY, XK_F3, spawn, SHCMD("st -e sh -c 'echo -ne \"\033]0;System Search\007\"; xdg-open \"$(fzf)\"'")},
|
||||||
{ MODKEY, XK_F4, spawn, SHCMD("st pulsemixer") },
|
{ MODKEY, XK_F4, spawn, SHCMD("st pulsemixer") },
|
||||||
|
{ MODKEY, XK_F5, spawn, SHCMD("st -e sh -c 'cd ~/Documents/Code/NixFiles; zsh'")},
|
||||||
|
|
||||||
/* media keys using function row */
|
/* media keys using function row */
|
||||||
{ MODKEY|ShiftMask, XK_F1, spawn, SHCMD("volume mute")},
|
{ MODKEY|ShiftMask, XK_F1, spawn, SHCMD("volume mute")},
|
||||||
|
Loading…
Reference in New Issue
Block a user