MAN.9FRONT.ORG RTFM


     RIOW(1)                                                   RIOW(1)

     NAME
          riow - keyboard-controller for rio(1)

     SYNOPSIS
          riow [ -s label ]

     DESCRIPTION
          riow provides keyboard controlling for rio(1) in the manner
          of i3, sway and so on.  It does so by working with
          /dev/kbdtap (see rio(4)) and /dev/wsys.

        Running
          Example of running riow with other programs handling input:
               </dev/kbdtap ktrans | \
                    reform/shortcuts | \
                    riow >/dev/kbdtap |[3] bar
          Note that the current desktop number is printed to fd 3.

        Keyboard shortcuts
          Kmod4+0…9
               Switches to the specified virtual desktops. There are
               ten in total.

          Kmod4+Shift+0…9
               Moves the current window to the specified virtual desk-
               top.

          Kmod4+f
               Toggle between fullscreen and normal mode for the cur-
               rent window.

          Kmod4+s
               Toggle "sticky" mode for the current window. In this
               mode the window is staying while the user is switching
               between desktops. By default, programs like winwatch,
               catclock, kbmap, etc are in sticky mode. Additional
               programs can be added to that list on startup by speci-
               fying their labels with -s option.

          Kmod4+enter
               Spawn a new window(1).

          Kmod4+h/j/k/l
               Focus left/down/up/right.

          Kmod4+arrows
               Move the current window in the specified direction.

          Kmod4+control+arrows
               Same, but in bigger steps.

     RIOW(1)                                                   RIOW(1)

          Kmod4+shift+arrows
               Resize the current window.

          Kmod4+shift+control+arrows
               Same, but in bigger steps.

     SOURCE
          /sys/src/cmd/riow.c

     SEE ALSO
          bar(1), rio(4)

     HISTORY
          Riow first appeared in 9front (September, 2022).

     BUGS
          Yes.