summaryrefslogtreecommitdiff
path: root/dm-nightlight
diff options
context:
space:
mode:
authorJake VanderVaate <jake.vandervaate@protonmail.com>2022-03-07 22:08:19 -0600
committerJake VanderVaate <jake.vandervaate@protonmail.com>2022-03-07 22:08:19 -0600
commit493fc342caeb7c87408b7d7100cafd5bf8ed7492 (patch)
tree23aeda0d43bcce3e5733774972ec287ead8992e0 /dm-nightlight
parent72c64974b4a43d2e201a174e15853e92e0fe1d81 (diff)
added dmenu scriptsHEADmain
Diffstat (limited to 'dm-nightlight')
-rwxr-xr-xdm-nightlight13
1 files changed, 13 insertions, 0 deletions
diff --git a/dm-nightlight b/dm-nightlight
new file mode 100755
index 0000000..97a261e
--- /dev/null
+++ b/dm-nightlight
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+dm="dmenu -i -c -l 10"
+options="Normal\n4000k\n3300k\n2500k"
+
+
+temp=$(printf "$options" | $dm )
+
+case "$temp" in
+ Normal) redshift -x >> /dev/null;;
+ "") : ;;
+ "$temp") redshift -P -O "$(echo """$temp""" | sed 's/k//g')" >> /dev/null ;;
+esac