dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 22e7648d99b1dd9e068d42f1667402f8fb0d6a2d
parent ea191ef2ec7bd08a3f3c65b4036c8eac46adb693
Author: Chris Bracken <chris@bracken.jp>
Date:   Mon, 24 Jun 2019 18:46:50 -0700

Configure i3wm to use compton compositor

This fixes screen tearing in browsers etc. Requires installation of
`compton` package.

Diffstat:
A.config/compton.conf | 13+++++++++++++
M.i3/config | 3+++
2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/.config/compton.conf b/.config/compton.conf @@ -0,0 +1,13 @@ +# Basic configuration. +backend = "glx"; +vsync = "opengl-swc"; + +glx-copy-from-front = true; +glx-swap-method = 2; +xrender-sync = true; +xrender-sync-fence = true; + +# Transparancy settings for i3. +opacity-rule = [ + "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +]; diff --git a/.i3/config b/.i3/config @@ -30,6 +30,9 @@ bindsym $mod+Return exec urxvt # kill focused window bindsym $mod+Shift+q kill +# start compton compositor +exec --no-startup-id compton --config ~/.config/compton.conf -b + # Lock, suspend set $lock_screen i3lock -d -c 000000 exec --no-startup-id xautolock -time 10 -locker "$lock_screen"