aboutsummaryrefslogtreecommitdiff
path: root/zenbook
diff options
context:
space:
mode:
authorCamil Staps2023-02-17 09:32:45 +0100
committerCamil Staps2023-02-17 09:32:45 +0100
commitdbced26e383a1caaef38e98fd3eb0c1b9a7a0427 (patch)
tree0e454adc3370dde51f142013447ce4214e33a996 /zenbook
parentUpdate TeXLive version to 2022 in manpages and infopages as well (diff)
Move zenbook-specific scripts
Diffstat (limited to 'zenbook')
-rwxr-xr-xzenbook/bin/dualmon5
-rwxr-xr-xzenbook/bin/dualmon-dp5
-rwxr-xr-xzenbook/bin/singlemon7
-rwxr-xr-xzenbook/bin/singlemon-dp5
4 files changed, 22 insertions, 0 deletions
diff --git a/zenbook/bin/dualmon b/zenbook/bin/dualmon
new file mode 100755
index 0000000..c14e380
--- /dev/null
+++ b/zenbook/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/zenbook/bin/dualmon-dp b/zenbook/bin/dualmon-dp
new file mode 100755
index 0000000..c8de3c0
--- /dev/null
+++ b/zenbook/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/zenbook/bin/singlemon b/zenbook/bin/singlemon
new file mode 100755
index 0000000..05ccbed
--- /dev/null
+++ b/zenbook/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/zenbook/bin/singlemon-dp b/zenbook/bin/singlemon-dp
new file mode 100755
index 0000000..82893b7
--- /dev/null
+++ b/zenbook/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