This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # replacement for i3 move left / right command, behavior changes depending on if your window in floated or not | |
| require 'i3ipc' | |
| class Mover | |
| def initialize | |
| @i3 = I3Ipc::Connection.new | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Tap Time" 0 | |
| xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Palm Detection" 1 | |
| xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Click Action" 1 3 2 | |
| xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Scrolling Distance" -27 -27 | |
| height=$((680-1)) | |
| width=$((1216-1)) | |
| to_edge=0 | |
| xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Soft Button Areas" \ |