From 5822f9eb04370903907cba4829a20e7fdbe41946 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 17 May 2022 17:19:52 +0200 Subject: i3: reload instead of restart, picom toggle --- .local/bin/picom-toggle | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/picom-toggle (limited to '.local') diff --git a/.local/bin/picom-toggle b/.local/bin/picom-toggle new file mode 100755 index 0000000..c579fc7 --- /dev/null +++ b/.local/bin/picom-toggle @@ -0,0 +1,8 @@ +#!/bin/sh + +if pgrep -x "picom" > /dev/null +then + killall picom +else + picom -b --config $HOME/.config/picom/picom.conf +fi -- cgit v1.2.3-70-g09d2