# /etc/xdg/kwinrc — system-wide KWin defaults for the Pocket DS image.
#
# Each user inherits these on first login (KWin merges /etc/xdg/kwinrc
# under their ~/.config/kwinrc). Per-user changes override us; we only
# set the bare minimum needed to wire up shipped KWin scripts.

[Plugins]
# Enable our OSK-on-bottom-screen script. Lives at
# /usr/share/kwin/scripts/pocketds-osk-bottom/, shipped by
# pocketds-userspace.
pocketds-osk-bottomEnabled=true

# Meta-tap → fullscreen launcher is handled per-user by
# /usr/bin/pocketds-launcher-fullscreen (xdg autostart): it swaps the
# panel's kickoff applet to kickerdash and binds Meta as the widget's
# own global shortcut (registered through kglobalaccel, the live-
# reloadable path). We deliberately do NOT ship
# [ModifierOnlyShortcuts] Meta=activateLauncherMenu here: combining
# that with the widget shortcut would double-fire activate→deactivate
# on every Meta press and leave the launcher closed.

[Wayland]
# Disable Plasma 6's built-in on-screen keyboard (plasma-keyboard). On
# Plasma 6.6 KWin launches it as the default OSK even with InputMethod
# unset; this is the only key that actually stops it. We ship Onboard as
# the OSK instead (launched on a trigger key by pocketds-osk-toggle).
VirtualKeyboardEnabled=false
