mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-25 03:08:34 +02:00
compton: kill compton before calling xrandr
This commit is contained in:
parent
e4ee166056
commit
8b72b4f80e
1 changed files with 1 additions and 1 deletions
|
@ -22,9 +22,9 @@ case "$use,$(uname -n),$name" in
|
||||||
# Are we getting docked?
|
# Are we getting docked?
|
||||||
sleep 2
|
sleep 2
|
||||||
if xrandr | grep '^DP. connected'; then
|
if xrandr | grep '^DP. connected'; then
|
||||||
|
pkill compton
|
||||||
xrandr --output eDP1 --off --output DP3 --auto --primary
|
xrandr --output eDP1 --off --output DP3 --auto --primary
|
||||||
xrandr --output DP4 --auto --right-of DP3 --dpi 96
|
xrandr --output DP4 --auto --right-of DP3 --dpi 96
|
||||||
pkill compton
|
|
||||||
sleep 1
|
sleep 1
|
||||||
echo 'awesome.restart()' | awesome-client
|
echo 'awesome.restart()' | awesome-client
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue