From 826a4b8e04a7d2b3a83fee3aa211db4909565079 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Sun, 9 Oct 2022 21:52:25 +0200 Subject: scripts: renamed picom and polybar scripts --- .local/bin/comptoggle | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/comptoggle (limited to '.local/bin/comptoggle') diff --git a/.local/bin/comptoggle b/.local/bin/comptoggle new file mode 100755 index 0000000..c579fc7 --- /dev/null +++ b/.local/bin/comptoggle @@ -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