mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +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?
|
||||
sleep 2
|
||||
if xrandr | grep '^DP. connected'; then
|
||||
pkill compton
|
||||
xrandr --output eDP1 --off --output DP3 --auto --primary
|
||||
xrandr --output DP4 --auto --right-of DP3 --dpi 96
|
||||
pkill compton
|
||||
sleep 1
|
||||
echo 'awesome.restart()' | awesome-client
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue