~mil/sxmo-devel

sxmo-dwm: layout switching also using sxmo_gesturehandler.sh v2 APPLIED

Sam Bowlby: 1
 layout switching also using sxmo_gesturehandler.sh

 1 files changed, 10 insertions(+), 10 deletions(-)
#479945 .build.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/sxmo-devel/patches/21877/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH sxmo-dwm v2] layout switching also using sxmo_gesturehandler.sh Export this patch

---
 config.def.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/config.def.h b/config.def.h
index 9b89aaf..3350654 100644
--- a/config.def.h
+++ b/config.def.h
@@ -85,18 +85,18 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
#include <X11/XF86keysym.h>
static Key keys[] = {
  /* PP */
	{1,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_appmenu.sh") },
	{2,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_appmenu.sh sys") },
	{3,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_lock.sh") },
	{1,  0,  XF86XK_AudioLowerVolume, cyclelayout , {.i = +1 } },
	{2,  0,  XF86XK_AudioLowerVolume, inplacerotate, {.i = +2} },
	{3,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_blinkled.sh red & xdotool windowkill $(xdotool getactivewindow)") },
	{4,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_blinkled.sh red & xdotool windowclose $(xdotool getactivewindow)") },
	{1,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_gesturehandler.sh volup_one") },
	{2,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_gesturehandler.sh volup_two") },
	{3,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_gesturehandler.sh volup_three") },
	{1,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_gesturehandler.sh voldown_one") },
	{2,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_gesturehandler.sh voldown_two") },
	{3,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_gesturehandler.sh voldown_three") },
	{4,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_gesturehandler.sh voldown_four") },
	//{3,  0,  XF86XK_AudioLowerVolume, killclient, {0} },

	{1,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_powerbutton.sh") },
	{2,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_blinkled.sh blue & $TERMCMD -e $SHELL") },
	{3,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_blinkled.sh blue & $BROWSER") },
	{1,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_gesturehandler.sh powerbutton_one") },
	{2,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_gesturehandler.sh powerbutton_two") },
	{3,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_gesturehandler.sh powerbutton_three") },

	/* Used by scripts via xdotool */
	{0,  MODKEY|ShiftMask,  XK_e, shiftview, {.i = -1} },
-- 
2.31.1
builds.sr.ht
sxmo-dwm/patches/.build.yml: SUCCESS in 17s

[layout switching also using sxmo_gesturehandler.sh][0] v2 from [Sam Bowlby][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/21877
[1]: mailto:sam@chven.us

✓ #479945 SUCCESS sxmo-dwm/patches/.build.yml https://builds.sr.ht/~mil/job/479945