summaryrefslogtreecommitdiff
path: root/arch/scripts/.local
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-04-28 13:57:31 -0700
committersteven-na <noreply.github@stvnc.dev>2026-04-28 13:57:31 -0700
commitbab234423fffaf492f6617b53c11d865b8a21815 (patch)
tree66f16cdd9b9b2ce32ab4339893288044119baf0f /arch/scripts/.local
parentf131fac65e297c1322edf88bd571a4282171596d (diff)
zen, bar, binds
Diffstat (limited to 'arch/scripts/.local')
-rwxr-xr-xarch/scripts/.local/bin/toggle-screen-temp11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/scripts/.local/bin/toggle-screen-temp b/arch/scripts/.local/bin/toggle-screen-temp
new file mode 100755
index 0000000..d0135bf
--- /dev/null
+++ b/arch/scripts/.local/bin/toggle-screen-temp
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+sentinelfile="${XDG_RUNTIME_DIR}/screentempislow"
+
+if [[ -e ${sentinelfile} ]]; then
+ hyprctl hyprsunset temperature 6000
+ rm ${sentinelfile}
+else
+ hyprctl hyprsunset temperature 3500
+ touch ${sentinelfile}
+fi