From 29a3bfae91ff4843a9ea2cab5b8cd18393fbdbf4 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 2 Dec 2019 18:03:13 +0300 Subject: Refactor scripts --- scripts/toggle-compton.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/toggle-compton.sh') diff --git a/scripts/toggle-compton.sh b/scripts/toggle-compton.sh index ee3c880..7c36b2f 100755 --- a/scripts/toggle-compton.sh +++ b/scripts/toggle-compton.sh @@ -1,8 +1,8 @@ -#!/usr/bin/env bash +#!/bin/sh if ! pgrep compton then - compton -b --config "${XDG_CONFIG_HOME}/compton.conf" + compton -b --config "$XDG_CONFIG_HOME/compton.conf" else pkill compton fi -- cgit 1.4.1