~mil/sxmo-dwm

fix typo in inputhandler command

Signed-off-by: Anjandev Momi <anjan@momi.ca>
dwm: various updates due to renames

We've renamed sxmo_inputhandler.sh to sxmo_hook_inputhandler.sh, and
sxmo-vol.sh to sxmo_audio.sh.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Miles Alan <m@milesalan.com>
Revert "dwm: various updates due to renames"

This reverts commit b5438d12c80d4cf76639e3a3053c8e37cd430765.

Reverting so that we can tag new sxmo-dwm version; this relies on changes
in sxmo-utils, but we are unable to tag sxmo-utils currently.

Signed-off-by: Miles Alan <m@milesalan.com>
manage: For isfloating/oldstate check/set, ensure trans client actually exists

In certain instances trans may be set to a window that doesn't actually
map to a client via wintoclient; in this case it doesn't make sense
to set isfloating/oldstate since trans is essentially invalid in that
case / correlates to the above condition check where trans is set /
XGetTransientForHint is called.

Signed-off-by: Miles Alan <m@milesalan.com>
change d and p to point to appmenu and files
dwm: various updates due to renames

We've renamed sxmo_inputhandler.sh to sxmo_hook_inputhandler.sh, and
sxmo-vol.sh to sxmo_audio.sh.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
ce7c14bb — Sergio Iglesias 11 months ago 6.2.15
Making the touch keyboard to avoid getting screen focus.

Some keybindings were changed to better multimonitor integration.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Make threshold configurable with SXMO_THRESHOLD

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Add inplacerotate back as MOD+x

This way we can call from sxmo_inputhandler.sh to rotate all clients
on double voldown tap fixing regression where that keybinding doesn't
rotate all clients.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Remove close window actions as it causes issues
dont focus virtual keyboard while using it

"focus" is bit ambiguous, as dwm keeps its own "selected client" apart from
x's inputfocus and active window. This change prevents dwm to select the
keyboard when pressing on it.
In effect the windowtitle in the bar doesn't get overwritten by the keyboard
and the bordercolors don't change, which i think is the correct behavior.
The inputfocus is already denied because svkbd reports WM_Hints->input->false
to the windowmanager, which is why the keyboard was working before.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
focus after an unmanaged and unswallowed window (like dmenu) is closed

solves Ticket #251

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Use Mod4 as MODKEY

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Fix cycling through layouts

I recently switched from pmOS + sxmo to using arch with Justine
Smithies' sxmo installer (which builds and installs sxmo based on the
latest master branches of the sxmo repos) and noticed that volume down
would only toggle between the tile and bstack layouts. After some
investigation I found that previously the dwm config was directly
calling `cyclelayout` and incrementing the currently selected layout
from `ppcyclelayouts[]`, but with d272e345, this was changed to have
the volume down button call out to a shell script, which then pressed
alt+Space, triggering the layout to be toggled. The problem is that
alt+Space was not properly set to cycle through the layouts, and instead
only toggled between (I believe) the 2 most recent layouts, which would
only ever be tile and bstack if you only ever use the volume down button
to change the current layout.

I also happened to notice that alt+Space was defined twice. So this
commit removes one of the instances where alt+Space is being defined,
and changes the other to increment the current layout from
`ppcyclelayouts[]`.

To test this, I created a diff with my changes, and modified Justine's
installer script so that when it lands on the sxmo-dwm repo, it applies
my diff to the repo before copying the config into place and compiling
dwm. After the script completed and I rebooted the phone, I was able to
cycle through tile, bstack, and monocle layouts using the volume down
button as expected.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
renamed gesturehandler to inputhandler
layout switching also using sxmo_gesturehandler.sh

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
Use icons for layouts and use the stack layout as the default instead of the tile layout
decoupling powerbutton from keyboard invocation by invoking a dedicated script instead
Do not run SHELL in login mode

As this mode is used on console and SSH login

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
close window on long voldown press, kill window on triple press
Next