From 86c80f489dd0b22c29f3f7dc9be241686c959fdd Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Sun, 26 Jun 2022 22:37:10 -0400 Subject: [PATCH] Add picom bindings --- dotfiles/bin/.local/bin/solid | 4 ++++ dotfiles/bin/.local/bin/trans | 11 +++++++++++ 2 files changed, 15 insertions(+) create mode 100755 dotfiles/bin/.local/bin/solid create mode 100755 dotfiles/bin/.local/bin/trans diff --git a/dotfiles/bin/.local/bin/solid b/dotfiles/bin/.local/bin/solid new file mode 100755 index 0000000..70ebfdb --- /dev/null +++ b/dotfiles/bin/.local/bin/solid @@ -0,0 +1,4 @@ +#!/usr/bin/fish +if ps -aux | grep picom | grep -v grep + pkill picom +end diff --git a/dotfiles/bin/.local/bin/trans b/dotfiles/bin/.local/bin/trans new file mode 100755 index 0000000..d58b5f5 --- /dev/null +++ b/dotfiles/bin/.local/bin/trans @@ -0,0 +1,11 @@ +#!/usr/bin/fish +if ps -aux | grep picom | grep -v grep + pkill picom +end + +sleep 0.2 +picom \ + --conf /dev/null \ + -i 0.8 \ + --active-opacity 1.0 \ + --focus-exclude "x = 0 && y = 0 && override_redirect = true" &