1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
qtile-config/qtile-venv-entry

37 lines
1.5 KiB
Text
Raw Normal View History

2020-02-10 11:09:07 +01:00
#!/bin/bash
export SUDO_ASKPASS=/usr/bin/ssh-askpass
export _JAVA_AWT_WM_NONREPARENTING=1
2020-02-10 11:09:07 +01:00
picom --vsync --backend glx -b
/usr/lib/notification-daemon/notification-daemon &
2020-02-10 11:09:07 +01:00
feh --bg-fill ~/Nextcloud/Images/Furry/Commis/Kat-LUK.J_/poster_etha.png
2020-02-10 11:09:07 +01:00
# Fix touchscreen
xinput set-prop "pointer:ELAN22A6:00 04F3:22A6" --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
# setup touchpad parameters
touchpadid=`xinput list | grep Touchpad | cut -d= -f2 | cut -f1`
tapid=`xinput list-props $touchpadid | grep "Tapping Enabled" | grep -v "Default" | cut -d'(' -f2 | cut -d')' -f1`
middleid=`xinput list-props $touchpadid | grep "Middle Emulation Enabled" | grep -v "Default" | cut -d'(' -f2 | cut -d')' -f1`
scrollid=`xinput list-props $touchpadid | grep "Natural Scrolling Enabled" | grep -v "Default" | cut -d'(' -f2 | cut -d')' -f1`
speedid=`xinput list-props $touchpadid | grep "Coordinate Transformation Matrix" | grep -v "Default" | cut -d'(' -f2 | cut -d')' -f1`
disablewhiletypingid=`xinput list-props $touchpadid | grep "Disable While Typing Enabled" | grep -v "Default" | cut -d'(' -f2 | cut -d')' -f1`
xinput set-prop $touchpadid $tapid 1
xinput set-prop $touchpadid $middleid 1
xinput set-prop $touchpadid $scrollid 0
xinput set-prop $touchpadid $speedid 5 0 0 0 5 0 0 0 2
xinput set-prop $touchpadid $disablewhiletypingid 0
nextcloud --background &
kdeconnect-indicator &
2020-02-16 22:31:09 +01:00
mailspring -b &
2020-02-10 11:09:07 +01:00
source /opt/qtile/venv/bin/activate
2020-02-19 11:40:05 +01:00
python /opt/qtile/bin/qtile $*
2020-02-10 11:09:07 +01:00