diff options
Diffstat (limited to 'src/etc')
-rwxr-xr-x | src/etc/screenlayouts/extend-display.sh | 3 | ||||
-rwxr-xr-x | src/etc/screenlayouts/hdmi-only.sh | 3 | ||||
-rwxr-xr-x | src/etc/screenlayouts/laptop-only.sh | 3 | ||||
-rwxr-xr-x | src/etc/screenlayouts/mirror.sh | 3 | ||||
-rw-r--r-- | src/etc/xdg/autostart/arandr-trayicon.desktop | 9 |
5 files changed, 21 insertions, 0 deletions
diff --git a/src/etc/screenlayouts/extend-display.sh b/src/etc/screenlayouts/extend-display.sh new file mode 100755 index 0000000..18878f3 --- /dev/null +++ b/src/etc/screenlayouts/extend-display.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Sample for Thinkpad P50s +xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate normal diff --git a/src/etc/screenlayouts/hdmi-only.sh b/src/etc/screenlayouts/hdmi-only.sh new file mode 100755 index 0000000..d863649 --- /dev/null +++ b/src/etc/screenlayouts/hdmi-only.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Sample for Thinkpad P50s +xrandr --output eDP-1 --off --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --primary --mode 1920x1080 --pos 0x0 --rotate normal diff --git a/src/etc/screenlayouts/laptop-only.sh b/src/etc/screenlayouts/laptop-only.sh new file mode 100755 index 0000000..9cb9006 --- /dev/null +++ b/src/etc/screenlayouts/laptop-only.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Sample for Thinkpad P50s +xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --off diff --git a/src/etc/screenlayouts/mirror.sh b/src/etc/screenlayouts/mirror.sh new file mode 100755 index 0000000..197d4d1 --- /dev/null +++ b/src/etc/screenlayouts/mirror.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Sample for Thinkpad P50s +xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output HDMI-1 --off --output DP-2 --off --output HDMI-2 --mode 1920x1080 --pos 0x0 --rotate normal diff --git a/src/etc/xdg/autostart/arandr-trayicon.desktop b/src/etc/xdg/autostart/arandr-trayicon.desktop new file mode 100644 index 0000000..bd81e0d --- /dev/null +++ b/src/etc/xdg/autostart/arandr-trayicon.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Arandr tray icon +Comment=Change which displays are active easily +Exec=arandr-trayicon +Terminal=false +Type=Application +Icon=display +Categories=Settings;Utility; +Keywords=display;monitor; |