diff options
| author | Craig Jennings <c@cjennings.net> | 2025-05-26 17:02:59 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-05-26 17:02:59 -0500 |
| commit | 30096dedb2287b326e3872c04ab9aac267b70b0b (patch) | |
| tree | 5238ed10025d5a5dec29e22cfa2ad305c7c21ea2 /archsetup | |
| parent | be8324bd73b0fd6c47c4e3be648983e69cf430ad (diff) | |
adding keyd install and config
Diffstat (limited to 'archsetup')
| -rwxr-xr-x | archsetup | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -583,6 +583,29 @@ desktop_environment() { action="Keyboard Shortcut Manager" && display "subtitle" "$action" pacman_install sxhkd + # Keyboard Shortcut Remapper + + action="Keyboard Shortcut Remapper" && display "subtitle" "$action" + pacman_install keyd + sudo systemctl enable keyd --now >> "$logfile" 2>&1 || error "error" "$action" "$?" + + action="configuring keyboard shortcut remapper" && display "task" "$action" + cat << EOF > /etc/keyd/default.conf +[ids] + +* + +[main] + +# Maps capslock to escape when pressed and control when held. +capslock = overload(control, esc) + +# Remaps the escape key to capslock +esc = capslock +EOF + + sudo keyd reload >> "$logfile" 2>&1 || error "error" "$action" "$?" + # Notifications action="Notification System" && display "subtitle" "$action" |
