From 590f4d760262fc6bceca99dd7addbcfdf079ded2 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Fri, 15 Oct 2021 01:04:42 +0200 Subject: [PATCH] Update keybindings --- config.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/config.h b/config.h index 6d34749..78aa060 100644 --- a/config.h +++ b/config.h @@ -60,6 +60,7 @@ static const Rule rules[] = { {"jetbrains-clion", NULL, NULL, 0, 0, 0, 1, 1, -1}, {"jetbrains-pycharm", NULL, NULL, 0, 0, 0, 1, 1, -1}, {"jetbrains-idea", NULL, "Welcome to IntelliJ IDEA", 0, 1, 0, 1, 0, -1}, + {"looking-glass-client", NULL, NULL, 0, 1, 0, 1, 0, -1}, }; /* layout(s) */ @@ -110,6 +111,7 @@ static Key keys[] = { // { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, + { MODKEY|ShiftMask, XK_f, togglefullscr, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, @@ -127,11 +129,14 @@ static Key keys[] = { { MODKEY, XK_F7, spawn, SHCMD("pycharm") }, { 0, XK_Print, spawn, SHCMD("screenshot") }, - { 0, XF86AudioPlay, spawn, SHCMD("playerctl play-pause")} , - { 0, XF86AudioPause, spawn, SHCMD("playerctl pause")} , - { 0, XF86AudioStop, spawn, SHCMD("playerctl stop")} , - { 0, XF86AudioNext, spawn, SHCMD("playerctl next")} , - { 0, XF86AudioPrev, spawn, SHCMD("playerctl previous")} , + { 0, XF86AudioPlay, spawn, SHCMD("playerctl play-pause")} , + { 0, XF86AudioPause, spawn, SHCMD("playerctl pause")} , + { 0, XF86AudioStop, spawn, SHCMD("playerctl stop")} , + { 0, XF86AudioNext, spawn, SHCMD("playerctl next")} , + { 0, XF86AudioPrev, spawn, SHCMD("playerctl previous")} , + { 0, XF86AudioLowerVolume, spawn, SHCMD("volume-set 2%-")}, + { 0, XF86AudioRaiseVolume, spawn, SHCMD("volume-set 2%+")}, + { 0, XF86AudioMute, spawn, SHCMD("amixer -D pulse sset Master toggle")}, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1)