added dmenu-man, changed mod+f1

This commit is contained in:
Maddie H 2023-07-19 21:19:54 +01:00
parent 46afebd65b
commit 72602b077b
Signed by: maddie
GPG Key ID: C296DE8C9053683F

View File

@ -35,6 +35,7 @@ static const Rule rules[] = {
*/
/* class instance title tags mask isfloating monitor */
{ "st-256color", "st", "pulsemixer", 0, 1, -1 },
{ "st-256color", "st", "System Search", 0, 1, -1 },
};
/* monitor rules */
@ -88,9 +89,10 @@ static const Key keys[] = {
{ MODKEY, XK_z, spawn, SHCMD("boomer") },
{ MODKEY, XK_c, spawn, SHCMD("gcolor2") },
{ MODKEY, XK_n, spawn, SHCMD("st nvim") },
{ MODKEY|ShiftMask, XK_n, spawn, SHCMD("st ncmpcpp") },
{ MODKEY, XK_x, spawn, SHCMD("xkill") },
{ 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_p, spawn, SHCMD("dmenu-pass") },
{ 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") },
/* 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_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_F5, spawn, SHCMD("st -e sh -c 'cd ~/Documents/Code/NixFiles; zsh'")},
/* media keys using function row */
{ MODKEY|ShiftMask, XK_F1, spawn, SHCMD("volume mute")},