diff options
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" |
