This file contains 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 bash | |
echo "Configuring synaptics settings..." | |
S=synclient | |
# [man] The LeftEdge, RightEdge, TopEdge and BottomEdge parameters are used to define the edge and corner | |
# areas of the touchpad. The parameters split the touchpad area in 9 pieces, like this: | |
# │ │ | |
# │ LeftEdge │ RightEdge |
This file contains 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
INPUT = LINUX_DEVICE L64 /dev/input/by-id/usb-HAILUCK_CO._LTD_USB_KEYBOARD-event-kbd | |
OUTPUT = UINPUT_SINK | |
// "TH" = "tap hold" | |
// this definition states that tapping the ESC key for < 150ms | |
// acts as an escape and holding for anything > 150ms generates the ` character | |
// (which is a common place for the tick character on a US keyboard layout) | |
@esc = TH 150 esc ` | |
// "MT" = "multi tap" |
This file contains 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 bash | |
# Josh Skidmore <josh@josh.sc> | |
# Basic example of using an HTTP range header to extract EXIF data | |
# from a JPEG file without having to download the entire image. | |
# This has no error handling and assumes the EXIF data is embedded | |
# within the first $KB_TO_DOWNLOAD kilobytes of the image | |
# Requirements: | |
# * curl |
OlderNewer