Compare commits

...

2 Commits

Author SHA1 Message Date
Rob Watson a4c0971cfd feat(script): add gb keymap support 2023-12-31 14:05:55 +01:00
Rob Watson 0eb1cfac50 feat(script): add screenon script 2023-12-31 14:05:55 +01:00
2 changed files with 17 additions and 0 deletions

12
script/screenon Executable file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env bash
#
# Enable external screen (office-layout)
set -euo pipefail
if [ "$(uname -s)" != "Linux" ]; then
echo "non-Linux not supported"
exit 1
fi
xrandr --output DP-1 --mode 3440x1440 --left-of eDP-1

View File

@ -21,6 +21,11 @@ case "$1" in
exit 0
;;
"gb")
setxkbmap -model pc105 -layout gb,gb -variant mac, -option compose:rctrl
exit 0
;;
"")
echo "argument required"
exit 1