diff options
author | B. Stack <bgstack15@gmail.com> | 2022-12-02 15:40:49 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-12-02 15:40:49 -0500 |
commit | 93b900394d3eb604af0ae6c41eb328ae17d7f84f (patch) | |
tree | cde767442b02ba2f1a099dbb9d7e4eb27d7d1ed0 /src/etc | |
download | arandr-trayicon-93b900394d3eb604af0ae6c41eb328ae17d7f84f.tar.gz arandr-trayicon-93b900394d3eb604af0ae6c41eb328ae17d7f84f.tar.bz2 arandr-trayicon-93b900394d3eb604af0ae6c41eb328ae17d7f84f.zip |
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; |