Add autorandr to xsession

This commit is contained in:
Leon Grünewald 2021-08-06 11:33:14 +02:00
parent 5a68aac719
commit 96a436319f

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash
xinput --set-prop 'pointer:Corsair CORSAIR M55 RGB PRO Gaming Mouse' 'Coordinate Transformation Matrix' 0.1 0 0 0 0.1 0 0 0 1
autorandr -c
if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi
xrdb -merge <<< "awesome.started:true"
picom -b --config $HOME/.config/picom.conf