diff options
Diffstat (limited to 'system')
-rwxr-xr-x | system/bin/askpass | 3 | ||||
-rwxr-xr-x | system/bin/dualmon | 5 | ||||
-rwxr-xr-x | system/bin/dualmon-dp | 5 | ||||
-rwxr-xr-x | system/bin/singlemon | 7 | ||||
-rwxr-xr-x | system/bin/singlemon-dp | 5 |
5 files changed, 25 insertions, 0 deletions
diff --git a/system/bin/askpass b/system/bin/askpass new file mode 100755 index 0000000..e37b29a --- /dev/null +++ b/system/bin/askpass @@ -0,0 +1,3 @@ +#!/bin/bash +p=$(echo -e "GETPIN\nBYE\n" | pinentry | grep D) +echo "${p:2}" diff --git a/system/bin/dualmon b/system/bin/dualmon new file mode 100755 index 0000000..c14e380 --- /dev/null +++ b/system/bin/dualmon @@ -0,0 +1,5 @@ +#!/bin/bash +xrandr --output eDP1 --below HDMI2 --primary --output HDMI2 --auto +xinput disable Atmel +setbg +xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput HDMI2 2>/dev/null diff --git a/system/bin/dualmon-dp b/system/bin/dualmon-dp new file mode 100755 index 0000000..c8de3c0 --- /dev/null +++ b/system/bin/dualmon-dp @@ -0,0 +1,5 @@ +#!/bin/bash +xrandr --output eDP1 --auto --below DP1 --primary --output DP1 --auto +xinput disable Atmel +setbg +xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput DP1 2>/dev/null diff --git a/system/bin/singlemon b/system/bin/singlemon new file mode 100755 index 0000000..05ccbed --- /dev/null +++ b/system/bin/singlemon @@ -0,0 +1,7 @@ +#!/bin/bash +xrandr --output eDP1 --primary --auto \ + --output HDMI2 --off \ + --output DP1 --off +xinput enable Atmel +setbg +xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput eDP1 2>/dev/null diff --git a/system/bin/singlemon-dp b/system/bin/singlemon-dp new file mode 100755 index 0000000..82893b7 --- /dev/null +++ b/system/bin/singlemon-dp @@ -0,0 +1,5 @@ +#!/bin/bash +xrandr --output eDP1 --off --output DP1 --auto --primary +xinput disable Atmel +setbg +xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput DP1 2>/dev/null |