dotfiles

Clean dotfiles
git clone git://git.dimitrijedobrota.com/dotfiles.git
Log | Files | Refs

commit 005d9d82bbd3301c45eb4670d9eb0e736406d9fd
parent 2681e99c6e1f44c4ce5b3533007be777f7b2c05c
Author: Dimitrije Dobrota <mail@dimitrijedobrota.com>
Date:   Sun, 19 Jan 2025 19:20:04 +0100

Configure graphic tablet with external display

Diffstat:
M.xdg/config/X11/xinitrc | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.xdg/config/X11/xinitrc b/.xdg/config/X11/xinitrc @@ -32,6 +32,13 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi +if command -v xsetwacom 2>&1 >/dev/null; then + penid=$(xsetwacom list devices | grep STYLUS | cut -f2 | cut -d' ' -f2) + xsetwacom --set $penid Rotate half + xsetwacom --set $penid Button 2 pan + xsetwacom --set 10 MapToOutput DisplayPort-0 +fi + if command -v slstatus &> /dev/null; then slstatus 2>&1 >/dev/null & else