PortValhalla/scripts/Arch/OS/set-keymap.service

10 lines
189 B
Desktop File

[Unit]
Description=Set X11 Keymap
[Service]
PassEnvironment=ARCH_X11_KEYMAP
ExecStart=bash -c 'localectl set-x11-keymap "$ARCH_X11_KEYMAP"; poweroff'
[Install]
WantedBy=multi-user.target