about summary refs log tree commit diff
path: root/scripts/toggle-redshift.sh
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2022-08-16 01:46:04 +0300
committerAzat Bahawi <azat@bahawi.net>2022-08-16 01:46:04 +0300
commit3cd06b22069c009b8c5fea2d5fad5f996667d2e3 (patch)
tree4b5f1cb453de13c560bc8aa5a57952713cf360aa /scripts/toggle-redshift.sh
parentabsolute garbage wtf (diff)
huge update-o
Diffstat (limited to '')
-rwxr-xr-xscripts/toggle-redshift.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/toggle-redshift.sh b/scripts/toggle-redshift.sh
deleted file mode 100755
index 2af8258..0000000
--- a/scripts/toggle-redshift.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/usr/bin/env bash
-
-if ! pgrep redshift >/dev/null 2>&1; then
-	redshift &
-	disown redshift
-else
-	pkill redshift
-fi

Consider giving Nix/NixOS a try! <3