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/barlaunch | 6 ++++++ .local/bin/comptoggle | 8 ++++++++ .local/bin/picom-toggle | 8 -------- .local/bin/polybar-launch | 6 ------ 4 files changed, 14 insertions(+), 14 deletions(-) create mode 100755 .local/bin/barlaunch create mode 100755 .local/bin/comptoggle delete mode 100755 .local/bin/picom-toggle delete mode 100755 .local/bin/polybar-launch (limited to '.local/bin') diff --git a/.local/bin/barlaunch b/.local/bin/barlaunch new file mode 100755 index 0000000..a23059e --- /dev/null +++ b/.local/bin/barlaunch @@ -0,0 +1,6 @@ +#!/bin/sh + +polybar-msg cmd quit + +echo "---" >> /tmp/polybar.log +polybar bar1 --reload >> /tmp/polybar.log 2>&1 & disown 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 diff --git a/.local/bin/picom-toggle b/.local/bin/picom-toggle deleted file mode 100755 index c579fc7..0000000 --- a/.local/bin/picom-toggle +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -if pgrep -x "picom" > /dev/null -then - killall picom -else - picom -b --config $HOME/.config/picom/picom.conf -fi diff --git a/.local/bin/polybar-launch b/.local/bin/polybar-launch deleted file mode 100755 index a23059e..0000000 --- a/.local/bin/polybar-launch +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -polybar-msg cmd quit - -echo "---" >> /tmp/polybar.log -polybar bar1 --reload >> /tmp/polybar.log 2>&1 & disown -- cgit v1.2.3-70-g09d2