dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit eccf71ab6883febcc0dae09cced20ecb882256f0 (tree)
parent 92e226c425bdadb155f653ae334a4fb7e92f92b9
Author: Motiejus Jakštys <desired.mta@gmail.com>
Date:   Sat, 18 Apr 2020 23:04:22 +0300

remove mac leftovers

Diffstat:
Dscripts/custom-synclient | 11-----------
Dscripts/custom-xhci_hcd | 36------------------------------------
2 files changed, 0 insertions(+), 47 deletions(-)

diff --git a/scripts/custom-synclient b/scripts/custom-synclient @@ -1,11 +0,0 @@ -#!/bin/bash - -declare -x DISPLAY=":0.0" -declare -x XAUTHORITY="/home/motiejus/.Xauthority" - -case $1/$2 in - post/*) - sleep 5 - synclient TapButton3=2 HorizTwoFingerScroll=1 - ;; -esac diff --git a/scripts/custom-xhci_hcd b/scripts/custom-xhci_hcd @@ -1,36 +0,0 @@ -#!/bin/bash - -# Original script was using /bin/sh but shellcheck reporting warnings. - -# NAME: custom-xhci_hcd -# PATH: /lib/systemd/system-sleep -# CALL: Called from SystemD automatically -# DESC: Suspend broken for USB3.0 as of Oct 25/2018 various kernels all at once - -# DATE: Oct 28 2018. - -# NOTE: From comment #61 at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/522998 - -TMPLIST=/tmp/xhci-dev-list - -# Original script was: case "${1}" in hibernate|suspend) - -case $1/$2 in - pre/*) - echo "$0: Going to $2..." - echo -n '' > $TMPLIST - for i in `ls /sys/bus/pci/drivers/xhci_hcd/ | egrep '[0-9a-z]+\:[0-9a-z]+\:.*$'`; do - # Unbind xhci_hcd for first device XXXX:XX:XX.X: - echo -n "$i" | tee /sys/bus/pci/drivers/xhci_hcd/unbind - echo "$i" >> $TMPLIST - done - ;; - post/*) - echo "$0: Waking up from $2..." - for i in `cat $TMPLIST`; do - # Bind xhci_hcd for first device XXXX:XX:XX.X: - echo -n "$i" | tee /sys/bus/pci/drivers/xhci_hcd/bind - done - rm $TMPLIST - ;; -esac