From e67f221c21c6719c8d17d74ee58e0ddc38689532 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 26 Apr 2020 16:12:05 -0700 Subject: Rename Compton to Picom They renamed the project and it’s been warning me about this for a while. --- GNUmakefile | 14 ++++++------- compton/.config/.gitignore | 1 - compton/.config/compton.org | 48 ------------------------------------------ picom/.config/.gitignore | 1 + picom/.config/picom.org | 51 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 58 insertions(+), 57 deletions(-) delete mode 100644 compton/.config/.gitignore delete mode 100644 compton/.config/compton.org create mode 100644 picom/.config/.gitignore create mode 100644 picom/.config/picom.org diff --git a/GNUmakefile b/GNUmakefile index 87c4235..3073bc1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,6 @@ include dotfiles.mk -MODULES=xmodmap emacs compton cower mowedline +MODULES=xmodmap emacs picom cower mowedline STOW=stow .PHONY: all clean $(MODULES) zsh @@ -18,17 +18,15 @@ zsh: %-uninstall: $(STOW) -D $(subst -uninstall,,$@) -########### -# Compton # -########### +# Picom -compton: compton/.config/compton.conf +picom: picom/.config/picom.conf -compton/.config/compton.conf: compton/.config/compton.org +picom/.config/picom.conf: picom/.config/picom.org $(call tangle,conf) -compton-clean: - rm -f compton/.config/compton.conf +picom-clean: + rm -f picom/.config/picom.conf ######### # Emacs # diff --git a/compton/.config/.gitignore b/compton/.config/.gitignore deleted file mode 100644 index 326879c..0000000 --- a/compton/.config/.gitignore +++ /dev/null @@ -1 +0,0 @@ -compton.conf diff --git a/compton/.config/compton.org b/compton/.config/compton.org deleted file mode 100644 index eb87dfb..0000000 --- a/compton/.config/compton.org +++ /dev/null @@ -1,48 +0,0 @@ -#+TITLE: Compton config - -Consider all windows grouped by =WM_TRANSIENT_FOR= to be focused when -one window in the group has focus. - -#+BEGIN_SRC conf - detect-transient = true; -#+END_SRC - -* Shadows - - Turn on shadows. - - #+BEGIN_SRC conf - shadow = true; - #+END_SRC - - Don't draw shadows on drag-and-drop windows or dock windows. - - #+BEGIN_SRC conf - wintypes: - { - dnd = { shadow = false }, - dock = { shadow = false } - } - #+END_SRC - - Make shadows bigger. - - #+BEGIN_SRC conf - shadow-radius = 10; - #+END_SRC - - Don't show shadows for these windows. - - - mowedline :: This is my statusbar application, I make it completely - transparent and that makes a shadow look very out of place. - - - Shaped windows :: Things look weird when shaped windows get a - rectangular shadow. - - #+BEGIN_SRC conf - shadow-exclude = [ - "name = 'mowedline'", - "class_g = 'trayer'", - "bounding_shaped" - ]; - #+END_SRC diff --git a/picom/.config/.gitignore b/picom/.config/.gitignore new file mode 100644 index 0000000..d120c36 --- /dev/null +++ b/picom/.config/.gitignore @@ -0,0 +1 @@ +picom.conf diff --git a/picom/.config/picom.org b/picom/.config/picom.org new file mode 100644 index 0000000..cf53957 --- /dev/null +++ b/picom/.config/picom.org @@ -0,0 +1,51 @@ +#+TITLE: Picom config + +*Note*: This used to be the configuration for Compton, but they've renamed Compton +to Picom. + +Consider all windows grouped by =WM_TRANSIENT_FOR= to be focused when +one window in the group has focus. + +#+BEGIN_SRC conf + detect-transient = true; +#+END_SRC + +* Shadows + + Turn on shadows. + + #+BEGIN_SRC conf + shadow = true; + #+END_SRC + + Don't draw shadows on drag-and-drop windows or dock windows. + + #+BEGIN_SRC conf + wintypes: + { + dnd = { shadow = false }, + dock = { shadow = false } + } + #+END_SRC + + Make shadows bigger. + + #+BEGIN_SRC conf + shadow-radius = 10; + #+END_SRC + + Don't show shadows for these windows. + + - mowedline :: This is my statusbar application, I make it completely + transparent and that makes a shadow look very out of place. + + - Shaped windows :: Things look weird when shaped windows get a + rectangular shadow. + + #+BEGIN_SRC conf + shadow-exclude = [ + "name = 'mowedline'", + "class_g = 'trayer'", + "bounding_shaped" + ]; + #+END_SRC -- cgit v1.2.3-54-g00ecf