mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-18 03:25:52 +00:00
12 lines
366 B
Bash
Executable File
12 lines
366 B
Bash
Executable File
#!/bin/bash
|
|
if [ -d "/run/systemd/system/" ]; then
|
|
# old name, those lines should at some point be removed from postinst
|
|
pkill -f key-mapper-service
|
|
systemctl disable key-mapper
|
|
systemctl stop key-mapper
|
|
|
|
pkill -f input-remapper-service # might have been started by the gui previously
|
|
systemctl enable input-remapper
|
|
systemctl start input-remapper
|
|
fi
|