aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-02-09 21:53:24 +0530
committerAkshay Nair <phenax5@gmail.com>2024-02-09 21:53:24 +0530
commit90ae94ddfed25fb7fe2fe2c8c4a7a67e5f84f657 (patch)
tree8fd30d9156a985f499e9a03bc958a715bab0dbd6 /scripts
parent60c1c76d5484ea371e19985d4e465e1785ff9b9c (diff)
downloadnixos-config-90ae94ddfed25fb7fe2fe2c8c4a7a67e5f84f657.tar.gz
nixos-config-90ae94ddfed25fb7fe2fe2c8c4a7a67e5f84f657.zip
config sync
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/commands/:day2
-rwxr-xr-xscripts/commands/:night4
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/commands/:day b/scripts/commands/:day
index e090f5b..76b57cb 100755
--- a/scripts/commands/:day
+++ b/scripts/commands/:day
@@ -2,7 +2,7 @@
~/scripts/brightness.sh set 100;
-:gamma 0.91 0.94 0.93;
+# :gamma 0.91 0.94 0.93;
xgamma -gamma 1;
diff --git a/scripts/commands/:night b/scripts/commands/:night
index b97c90b..387e04e 100755
--- a/scripts/commands/:night
+++ b/scripts/commands/:night
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
-~/scripts/brightness.sh set 2;
+brightnessctl --min-value || ~/scripts/brightness.sh set 2;
+
+xgamma -gamma 0.9;