Compare commits
2 Commits
bffea54717
...
a4c0971cfd
Author | SHA1 | Date | |
---|---|---|---|
|
a4c0971cfd | ||
|
0eb1cfac50 |
12
script/screenon
Executable file
12
script/screenon
Executable 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
|
@ -21,6 +21,11 @@ case "$1" in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"gb")
|
||||||
|
setxkbmap -model pc105 -layout gb,gb -variant mac, -option compose:rctrl
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
|
||||||
"")
|
"")
|
||||||
echo "argument required"
|
echo "argument required"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user