update dwmblocks
This commit is contained in:
parent
3339c5938f
commit
d65404e8e5
1 changed files with 12 additions and 14 deletions
26
config.h
26
config.h
|
@ -101,20 +101,20 @@ static Key keys[] = {
|
|||
TAGKEYS( XK_9, 8)
|
||||
{ MODKEY, XK_0, view, {.ui = ~0 } },
|
||||
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
|
||||
{ MODKEY, XK_minus, spawn, SHCMD("amixer sset Master 5%-") },
|
||||
{ MODKEY|ShiftMask, XK_minus, spawn, SHCMD("amixer sset Master 15%-") },
|
||||
{ MODKEY, XK_equal, spawn, SHCMD("amixer sset Master 5%+") },
|
||||
{ MODKEY|ShiftMask, XK_equal, spawn, SHCMD("amixer sset Master 15%+") },
|
||||
{ MODKEY, XK_minus, spawn, SHCMD("amixer sset Master 5%- ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ MODKEY|ShiftMask, XK_minus, spawn, SHCMD("amixer sset Master 15%- ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ MODKEY, XK_equal, spawn, SHCMD("amixer sset Master 5%+ ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ MODKEY|ShiftMask, XK_equal, spawn, SHCMD("amixer sset Master 15%+ ; pkill -RTMIN+10 dwmblocks") },
|
||||
/* { MODKEY, XK_BackSpace, spawn, SHCMD("") }, */
|
||||
{ MODKEY|ShiftMask, XK_BackSpace, spawn, SHCMD("prompt \"Reboot computer?\" \"sudo -A reboot\"") },
|
||||
|
||||
{ MODKEY, XK_Tab, view, {0} },
|
||||
/* { MODKEY, XK_Tab, view, {0} }, */
|
||||
/* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_q, killclient, {0} },
|
||||
/* { MODKEY|ShiftMask, XK_q, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_w, spawn, SHCMD("$BROWSER") },
|
||||
/* { MODKEY|ShiftMask, XK_w, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_e, spawn, SHCMD("st -e neomutt") },
|
||||
{ MODKEY, XK_e, spawn, SHCMD("st -e neomutt ; pkill -RTMIN+12 dwmblocks") },
|
||||
{ MODKEY|ShiftMask, XK_e, spawn, SHCMD("tutorialvids") },
|
||||
{ MODKEY, XK_r, spawn, SHCMD("st -e $FILE") },
|
||||
/* { MODKEY|ShiftMask, XK_r, spawn, SHCMD("") }, */
|
||||
|
@ -137,7 +137,7 @@ static Key keys[] = {
|
|||
{ MODKEY, XK_backslash, view, {0} },
|
||||
/* { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("") }, */
|
||||
|
||||
{ MODKEY, XK_a, spawn, SHCMD("st -e alsamixer") },
|
||||
{ MODKEY, XK_a, spawn, SHCMD("st -e alsamixer ; pkill -RTMIN+10 dwmblocks") },
|
||||
/* { MODKEY|ShiftMask, XK_a, spawn, SHCMD("") }, */
|
||||
{ MODKEY, XK_s, togglesticky, {0} },
|
||||
/* { MODKEY|ShiftMask, XK_s, spawn, SHCMD("") }, */
|
||||
|
@ -173,7 +173,7 @@ static Key keys[] = {
|
|||
{ MODKEY, XK_n, spawn, SHCMD("st -e newsboat") },
|
||||
{ MODKEY|ShiftMask, XK_n, spawn, SHCMD("hover right") },
|
||||
{ MODKEY, XK_m, spawn, SHCMD("st -e ncmpcpp") },
|
||||
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("amixer sset Master toggle") },
|
||||
{ MODKEY|ShiftMask, XK_m, spawn, SHCMD("amixer sset Master toggle ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ MODKEY, XK_comma, spawn, SHCMD("mpc prev") },
|
||||
{ MODKEY|ShiftMask, XK_comma, spawn, SHCMD("mpc seek 0%") },
|
||||
{ MODKEY, XK_period, spawn, SHCMD("mpc next") },
|
||||
|
@ -184,8 +184,6 @@ static Key keys[] = {
|
|||
{ MODKEY, XK_Page_Down, shiftview, { .i = 1 } },
|
||||
{ MODKEY, XK_Insert, spawn, SHCMD("showclip") },
|
||||
|
||||
/* Audio commands */
|
||||
|
||||
{ MODKEY, XK_F1, spawn, SHCMD("groff -mom $HOME/.local/share/larbs/readme.mom -Tpdf | zathura -") },
|
||||
{ MODKEY, XK_F2, quit, {0} },
|
||||
{ MODKEY, XK_F3, spawn, SHCMD("displayselect") },
|
||||
|
@ -212,9 +210,9 @@ static Key keys[] = {
|
|||
{ MODKEY|ShiftMask, XK_Print, spawn, SHCMD("dmenurecord kill") },
|
||||
{ MODKEY, XK_Delete, spawn, SHCMD("dmenurecord kill") },
|
||||
|
||||
{ 0, XF86XK_AudioMute, spawn, SHCMD("amixer sset Master toggle") },
|
||||
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("amixer sset Master 5%+") },
|
||||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("amixer sset Master 5%-") },
|
||||
{ 0, XF86XK_AudioMute, spawn, SHCMD("amixer sset Master toggle ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("amixer sset Master 5%+ ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("amixer sset Master 5%- ; pkill -RTMIN+10 dwmblocks") },
|
||||
{ 0, XF86XK_AudioPrev, spawn, SHCMD("mpc prev") },
|
||||
{ 0, XF86XK_AudioNext, spawn, SHCMD("mpc next") },
|
||||
{ 0, XF86XK_AudioPause, spawn, SHCMD("mpc pause") },
|
||||
|
@ -230,7 +228,7 @@ static Key keys[] = {
|
|||
{ 0, XF86XK_DOS, spawn, SHCMD("st") },
|
||||
{ 0, XF86XK_ScreenSaver, spawn, SHCMD("slock & xset dpms force off; mpc pause; pauseallmpv") },
|
||||
{ 0, XF86XK_TaskPane, spawn, SHCMD("st -e htop") },
|
||||
{ 0, XF86XK_Mail, spawn, SHCMD("st -e neomutt") },
|
||||
{ 0, XF86XK_Mail, spawn, SHCMD("st -e neomutt ; pkill -RTMIN+12 dwmblocks") },
|
||||
{ 0, XF86XK_MyComputer, spawn, SHCMD("st -e $FILE /") },
|
||||
{ 0, XF86XK_Battery, spawn, SHCMD("notify-send \"Battery status\" \"$(batstat)\"") },
|
||||
{ 0, XF86XK_Launch1, spawn, SHCMD("xset dpms force off") },
|
||||
|
|
Loading…
Reference in a new issue