aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.local/bin/input-setup
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:54:01 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:54:01 +0100
commit5252d5e19e0397a93c9686698961c9e9754370fe (patch)
tree160b98301d77852af60e6aff1986fb85c81646dd /home/.local/bin/input-setup
parent48121c013af862be9daca4757beb93f97e021163 (diff)
downloaddotfiles-5252d5e19e0397a93c9686698961c9e9754370fe.tar.gz
dotfiles-5252d5e19e0397a93c9686698961c9e9754370fe.tar.bz2
dotfiles-5252d5e19e0397a93c9686698961c9e9754370fe.zip
chore: remove X11-only scripts replaced by sway/wayland
- input-setup: replaced by sway input blocks - display-setup: replaced by sway output config + display-toggle.sh - launch-polybar: replaced by waybar - locknpause: replaced by swaylock - vibe: removed (xclip + xdotool, no wayland use case) - automute: removed (xdotool focus tracking, no wayland use case)
Diffstat (limited to 'home/.local/bin/input-setup')
-rwxr-xr-xhome/.local/bin/input-setup51
1 files changed, 0 insertions, 51 deletions
diff --git a/home/.local/bin/input-setup b/home/.local/bin/input-setup
deleted file mode 100755
index d97f9c2..0000000
--- a/home/.local/bin/input-setup
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/usr/bin/env sh
-
-[ -r ~/.config/X11/Xkeymap ] && xkbcomp ~/.config/X11/Xkeymap "$DISPLAY"
-
-setlayout() {
- ids=$(xinput --list | sed -ne '/Virtual core keyboard/{:a' -e 'n;p;ba' -e '}' | grep "$1" | sed -n 's/.*id=\([0-9]\+\).*/\1/p')
- for i in $ids; do
- setxkbmap -device "$i" -layout "$2"
- done
-}
-
-setmodmap() {
- kbds=$(xinput --list | sed -ne '/Virtual core keyboard/{:a' -e 'n;p;ba' -e '}' | grep "$1" | sed -n 's/.*id=\([0-9]\+\).*/\1/p')
- if [ "$kbds" ]; then
- xmodmap ~/.config/X11/Xmodmap
- fi
-}
-
-if [ "$(uname -n)" = "halley2" ]; then
- setxkbmap -layout us
-elif [ "$(uname -n)" = "hercules" ]; then
- setxkbmap -layout es
-fi
-
-
-setlayout "Kingston HyperX Alloy FPS Pro Mechanical Gaming Keyboard" us
-# setlayout "SONiX USB DEVICE" us
-
-setlayout "SEMITEK USB-HID Gaming Keyboard" us
-# setmodmap "SEMITEK USB-HID Gaming Keyboard"
-
-setlayout "Dierya DK61 Keyboard" us
-# setmodmap "Dierya DK61 Keyboard"
-
-setlayout "ZSA Technology Labs ErgoDox EZ" us
-
-setxkbmap -option "caps:escape"
-xset r rate 250 30
-xmodmap ~/.config/X11/Xmodmap
-
-if [ "$(uname -n)" = "hercules" ]; then
- xinput set-prop "ELAN1205:00 04F3:30E9 Touchpad" "libinput Tapping Enabled" 1
- xinput set-prop "ELAN1205:00 04F3:30E9 Touchpad" "libinput Natural Scrolling Enabled" 1
- ids=$(xinput --list | sed -ne '/Virtual core pointer/{:a' -e 'n;p;ba' -e '}' | grep "Kingsis Peripherals ZOWIE Gaming mouse" | sed -n 's/.*id=\([0-9]\+\).*/\1/p')
- for i in $ids; do
- xinput --set-prop "$i" 'libinput Accel Profile Enabled' 0, 1
- done
-elif [ "$(uname -n)" = "halley2" ]; then
- xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
- xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1
-fi