about summary refs log tree commit diff
path: root/scripts/toggle-compton.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2019-12-02 18:03:13 +0300
committerAzat Bahawi <azahi@teknik.io>2019-12-02 18:03:13 +0300
commit29a3bfae91ff4843a9ea2cab5b8cd18393fbdbf4 (patch)
treecc977d45768cd4403b89182bbe26303037a55d41 /scripts/toggle-compton.sh
parentfix build script error and update stack (diff)
Refactor scripts
Diffstat (limited to '')
-rwxr-xr-xscripts/toggle-compton.sh4
1 files changed, 2 insertions, 2 deletions
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

Consider giving Nix/NixOS a try! <3