SWAYKBDD(1)

πŸ“¦
version 1.4 Β· 2 versions
, in alpine 3.24, nixos 26.05, nixpkgs unstable

πŸ’… SWAYKBDD(1) β€” the Swaykbdd manual, but make it cute πŸŽ€

okay so bestie, welcome to swaykbdd β€” literally the glow-up your Sway keyboard situation has been waiting for ✨ (yes this is the Swaykbdd manual, and yes you're gonna slay it)


✨ NAME ✨

swaykbdd β€” keyboard layout switcher for Sway πŸ¦‹

✨ SYNOPSIS ✨

swaykbdd [OPTIONS...]

✨ DESCRIPTION ✨

so the swaykbdd utility is the icon that automatically changes your keyboard layout on a per-window or per-tab basis πŸ’… like, each window gets its own vibe, no cap.

and if you want it to just start on its own every time (main character energy fr), add this command to your Sway config file:

exec swaykbdd

that's it, that's the whole ritual 🫢


🌸 OPTIONS 🌸

  • -h, --help β€” shows you the help message πŸ’– your little built-in bestie.
  • -v, --version β€” spills the version information πŸŽ€.
  • -d, --default=ID β€” sets the default keyboard layout for new windows. ID is literally the index of the layout, the default is 0, and there's a special value -1 you can pass to disable setting the layout for new windows entirely (in that case the currently active layout gets used instead) πŸ™ˆ.
  • -t, --timeout=MS β€” the ignored time between a layout change and focus-lost events, measured in milliseconds ⏱️. the default value is 50.
  • -a, --tabapps=IDS β€” a comma-separated list of tab-enabled application IDs, where each tab gets its own keyboard layout πŸ—‚οΈβœ¨. the default value is "firefox,chrome". pass an empty string ("") to disable this feature completely, zero notes.
  • -V, --verbose β€” enables verbose output, aka the event trace πŸ” (iykyk, it's giving debug detective).

🌈 ENVIRONMENT 🌈

  • SWAYSOCK β€” path to the socket file used for Sway IPC πŸ”Œ. that's the lil connection, don't lose it.

πŸ’€ BUGS πŸ’€

for suggestions, comments, bug reports etc., visit the project homepage 🫢 no gatekeeping, they wanna hear from you.


ngl bestie, read the -d -1 thing twice before you use it β€” "currently active layout will be used instead" is doing a Lot of work in that sentence πŸ’…

and that's the whole page, periodt πŸ’œ β€” this was swaykbdd, from the Swaykbdd manual, dated 2022-03-17, closing out as SWAYKBDD(1) 🌟 mwah, go switch some layouts πŸŽ€

πŸ“¦ where this page comes from