diff options
| author | steven-na <noreply.github@stvnc.dev> | 2026-04-28 13:57:31 -0700 |
|---|---|---|
| committer | steven-na <noreply.github@stvnc.dev> | 2026-04-28 13:57:31 -0700 |
| commit | bab234423fffaf492f6617b53c11d865b8a21815 (patch) | |
| tree | 66f16cdd9b9b2ce32ab4339893288044119baf0f /arch/scripts/.local | |
| parent | f131fac65e297c1322edf88bd571a4282171596d (diff) | |
zen, bar, binds
Diffstat (limited to 'arch/scripts/.local')
| -rwxr-xr-x | arch/scripts/.local/bin/toggle-screen-temp | 11 |
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 |