AutoYADM commit: 2025-07-23 16:48:40

This commit is contained in:
Daniel Fichtinger 2025-07-23 16:48:40 -04:00
parent c3c44f232c
commit 9d9a70e1d8
3 changed files with 96 additions and 0 deletions

14
.config/keyd/apply-conf.sh Executable file
View file

@ -0,0 +1,14 @@
#!/bin/sh
# this script updates the system keyd config with what's included
# in this directory
set -eux
sudo -v
# get directory of script
dir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd)
sysdir='/etc/keyd'
[ -f "$sysdir/default.conf" ] && sudo cp -f "$dir/default.conf" "$sysdir/default.conf"
sudo keyd reload