mirror of
https://github.com/pgrondek/config.git
synced 2024-11-25 21:25:39 +00:00
[i3] Added compton configuration to fix screen tearing
This commit is contained in:
parent
935e6b9da0
commit
47d562acb5
7
compton.conf
Normal file
7
compton.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# basic configuration
|
||||||
|
backend = "glx";
|
||||||
|
|
||||||
|
glx-no-stencil = true;
|
||||||
|
paing-on-overlay = true;
|
||||||
|
|
||||||
|
vsync = "opengl-swc";
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user