Last active
May 2, 2024 17:55
-
-
Save hickVieira/5af002bb30b29fdedf5b5d1294048094 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Running startup.sh" | |
# Wait 5 seconds | |
sleep 5 | |
# Keycodes: | |
# KP_HOME 110 | |
# KP_END 115 | |
# Prior 112 | |
# Next 117 | |
# Remap Home to Page Up | |
xmodmap -e "keycode 110 = Prior" | |
# Remap End to Page Down | |
xmodmap -e "keycode 115 = Next" | |
# Remap Page Down to Home | |
xmodmap -e "keycode 112 = Home" | |
# Remap Page Up to End | |
xmodmap -e "keycode 117 = End" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment