1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-26 05:35:30 +00:00

[i3] Added compton configuration to fix screen tearing

This commit is contained in:
Przemyslaw Grondek 2019-06-18 10:27:41 +02:00
parent 935e6b9da0
commit 47d562acb5
3 changed files with 11 additions and 0 deletions

7
compton.conf Normal file
View File

@ -0,0 +1,7 @@
# basic configuration
backend = "glx";
glx-no-stencil = true;
paing-on-overlay = true;
vsync = "opengl-swc";

View File

@ -215,6 +215,8 @@ mode $workspaceMove {
bindsym Mod4+grave mode "default" bindsym Mod4+grave mode "default"
} }
exec --no-startup-id compton --config ~/.config/compton.conf -b
for_window [class="Firefox" instance="Navigator"] border pixel 0 for_window [class="Firefox" instance="Navigator"] border pixel 0
for_window [class="jetbrains-toolbox"] floating enable for_window [class="jetbrains-toolbox"] floating enable
for_window [class="Slack"] border pixel 0 for_window [class="Slack"] border pixel 0

View File

@ -7,6 +7,7 @@ rm -f $HOME/.ideavimrc
rm -f $HOME/.config/i3/config rm -f $HOME/.config/i3/config
rm -f $HOME/.config/dunst/dunstrc rm -f $HOME/.config/dunst/dunstrc
rm -f $HOME/.config/i3blocks rm -f $HOME/.config/i3blocks
rm -f $HOME/.config/compton.conf
rm -f $HOME/.i3status.conf rm -f $HOME/.i3status.conf
rm -f $HOME/bin/lock rm -f $HOME/bin/lock
rm -f $HOME/bin/transmission-add rm -f $HOME/bin/transmission-add
@ -22,6 +23,7 @@ ln -s $(pwd)/bash_aliases $HOME/.bash_aliases
ln -s $(pwd)/ideavimrc $HOME/.ideavimrc ln -s $(pwd)/ideavimrc $HOME/.ideavimrc
ln -s $(pwd)/i3-config $HOME/.config/i3/config ln -s $(pwd)/i3-config $HOME/.config/i3/config
ln -s $(pwd)/i3blocks $HOME/.config/i3blocks ln -s $(pwd)/i3blocks $HOME/.config/i3blocks
ln -s $(pwd)/compton.conf $HOME/.config/compton.conf
ln -s $(pwd)/dunstrc $HOME/.config/dunst/dunstrc ln -s $(pwd)/dunstrc $HOME/.config/dunst/dunstrc
ln -s $(pwd)/bin/lock $HOME/bin/lock ln -s $(pwd)/bin/lock $HOME/bin/lock