From 66450b657fde844ac75f4f2dc0cc0fbabd029fab Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Tue, 29 Apr 2025 20:14:49 +0200 Subject: [PATCH] fix apple keyboard --- run_onchange_apple-keyboard-swap.sh.tmpl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/run_onchange_apple-keyboard-swap.sh.tmpl b/run_onchange_apple-keyboard-swap.sh.tmpl index b30b4b8..edcf925 100755 --- a/run_onchange_apple-keyboard-swap.sh.tmpl +++ b/run_onchange_apple-keyboard-swap.sh.tmpl @@ -1,14 +1,11 @@ -{{- if and (eq .chezmoi.os "linux") (eq .chezmoi.arch "arm64") }} #!/bin/bash +{{- if and (eq .chezmoi.os "linux") (eq .chezmoi.arch "arm64") }} echo "Ändere Apple Funktionstaste mit der Kontrolltaste!!!" echo "Ändere Apple Commandtaste mit der Altasten!!!" -# Temporäre Änderung -# Command (⌘) und Alt (⌥) tauschen +# Temporäre Ändderung echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_opt_cmd - -# Fn und linke Control-Taste tauschen echo 1 | sudo tee /sys/module/hid_apple/parameters/swap_fn_leftctrl # Dauerhafte Konfiguration