From a73acb9b474ce77af4bc54657d32bd2714ce53ec Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 28 Jun 2021 12:22:48 +0200 Subject: Cleanup binaries --- system/bin/askpass | 3 +++ system/bin/dualmon | 5 +++++ system/bin/dualmon-dp | 5 +++++ system/bin/singlemon | 7 +++++++ system/bin/singlemon-dp | 5 +++++ 5 files changed, 25 insertions(+) create mode 100755 system/bin/askpass create mode 100755 system/bin/dualmon create mode 100755 system/bin/dualmon-dp create mode 100755 system/bin/singlemon create mode 100755 system/bin/singlemon-dp (limited to 'system') 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 -- cgit v1.2.3