~mil/sxmo-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH sxmo-utils] sway: add config for Nokia N900

Sicelo A. Mhlongo <absicsz@gmail.com>
Details
Message ID
<20240420231319.1960969-1-absicsz@gmail.com>
DKIM signature
pass
Download raw message
Patch: +27 -0
The Nokia N900's keyboard has very few keys, and RightAlt is already
in use. Provide an alternative binding mode that suits this constraint
while remaining as close as possible to the existing sxmo keybindings
---
 configs/appcfg/sway_template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/configs/appcfg/sway_template b/configs/appcfg/sway_template
index 72bd819..f188cbf 100644
--- a/configs/appcfg/sway_template
+++ b/configs/appcfg/sway_template
@@ -37,12 +37,39 @@ mode "menu" {
    bindsym XF86AudioLowerVolume exec wtype -k Down
}

mode "nomod" {
    # follow the standard sxmo keybinds as far as possible
    bindsym t exec $term; mode "default"
    bindsym q mode "default"
    bindsym Shift+p exec sxmo_appmenu.sh sys; mode "default"
    bindsym p exec sxmo_appmenu.sh; mode "default"
    bindsym d exec $menu; mode "default"
    bindsym Shift+q kill; mode "default"
    bindsym i exec sxmo_wmmenu.sh windowswitcher; mode "default"
    bindsym Shift+c reload; mode "default"
    bindsym f fullscreen; mode "default"
    bindsym Shift+space floating toggle; mode "default"
    bindsym a focus parent; mode "default"
}

### Key bindings
#
# Basics:
#
    input * xkb_options compose:ralt

    # Nokia N900 hardware keyboard
    input "1:1:TWL4030_Keypad" {
        xkb_model "nokiarx51"
        xkb_layout "us"
        # ralt has special meaning on N900 keyboard so do not use as
        # compose key
        xkb_options compose:rwin
    }

    # in the absence of a mod key (e.g. N900), provide a "nomod" mode
    bindsym Shift+space mode "nomod"

    # Start a terminal
    bindsym $mod+Return exec $term

-- 
2.43.0

[sxmo-utils/patches/test.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<D0PBY425I0QA.3I08W6GCRR23Y@fra01>
In-Reply-To
<20240420231319.1960969-1-absicsz@gmail.com> (view parent)
DKIM signature
missing
Download raw message
sxmo-utils/patches/test.yml: SUCCESS in 23s

[sway: add config for Nokia N900][0] from [Sicelo A. Mhlongo][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/51186
[1]: absicsz@gmail.com

✓ #1200477 SUCCESS sxmo-utils/patches/test.yml https://builds.sr.ht/~mil/job/1200477
Details
Message ID
<D0U1R2YCWCQZ.29457WRB6BKPR@willowbarraco.fr>
In-Reply-To
<20240420231319.1960969-1-absicsz@gmail.com> (view parent)
DKIM signature
pass
Download raw message
Interesting. Thanks!

To git@git.sr.ht:~mil/sxmo-utils
   8c0c0e43..91d4319d  master -> master
Reply to thread Export thread (mbox)