mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 20:18:49 +02:00
compton: kill compton before restarting awesome
This commit is contained in:
parent
ec4236f347
commit
e4ee166056
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ case "$use,$(uname -n),$name" in
|
||||||
if xrandr | grep '^DP. connected'; then
|
if xrandr | grep '^DP. connected'; then
|
||||||
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
|
||||||
sleep 2
|
pkill compton
|
||||||
|
sleep 1
|
||||||
echo 'awesome.restart()' | awesome-client
|
echo 'awesome.restart()' | awesome-client
|
||||||
fi
|
fi
|
||||||
rfkill block wifi
|
rfkill block wifi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue