From e1a974ca85945ca4db645024b745d8871ddd1344 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> 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/bin/picom-toggle') 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