aboutsummaryrefslogtreecommitdiff
path: root/i3/bin
diff options
context:
space:
mode:
authorCamil Staps2021-02-22 14:41:29 +0100
committerCamil Staps2021-02-22 14:41:29 +0100
commit41b295c0ee1c22c086c912c92faf0e6f631440f7 (patch)
tree26b7731a1e4a26d3d9347773cc2715d29263a6cf /i3/bin
parentAdd SBL fonts (diff)
Add sensible xsetwacom settings to single/dual monitor scripts to map to only one screen
Diffstat (limited to 'i3/bin')
-rwxr-xr-xi3/bin/dualmon1
-rwxr-xr-xi3/bin/dualmon-dp1
-rwxr-xr-xi3/bin/singlemon1
-rwxr-xr-xi3/bin/singlemon-dp1
4 files changed, 4 insertions, 0 deletions
diff --git a/i3/bin/dualmon b/i3/bin/dualmon
index 02ae65d..c14e380 100755
--- a/i3/bin/dualmon
+++ b/i3/bin/dualmon
@@ -2,3 +2,4 @@
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/i3/bin/dualmon-dp b/i3/bin/dualmon-dp
index 2f86aca..c8de3c0 100755
--- a/i3/bin/dualmon-dp
+++ b/i3/bin/dualmon-dp
@@ -2,3 +2,4 @@
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/i3/bin/singlemon b/i3/bin/singlemon
index 4478e76..05ccbed 100755
--- a/i3/bin/singlemon
+++ b/i3/bin/singlemon
@@ -4,3 +4,4 @@ xrandr --output eDP1 --primary --auto \
--output DP1 --off
xinput enable Atmel
setbg
+xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput eDP1 2>/dev/null
diff --git a/i3/bin/singlemon-dp b/i3/bin/singlemon-dp
index 4bf8ccb..82893b7 100755
--- a/i3/bin/singlemon-dp
+++ b/i3/bin/singlemon-dp
@@ -2,3 +2,4 @@
xrandr --output eDP1 --off --output DP1 --auto --primary
xinput disable Atmel
setbg
+xsetwacom set 'Wacom Intuos S Pen stylus' MapToOutput DP1 2>/dev/null