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

10 lines
189 B
SYSTEMD
Raw Normal View History

2023-04-04 21:00:00 +00:00
[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