summaryrefslogtreecommitdiff
path: root/scripts/setbrightness
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2023-06-10 08:50:02 +0200
committermarcellus <msimon_fr@hotmail.com>2023-06-10 08:50:02 +0200
commitf8e2c21e3006cee4aef9456cedab10b3f8f83ad6 (patch)
treea3296ce08ca200fbc45ccd55bac33eda514012fd /scripts/setbrightness
parent462688791c45e97dd94e5ca5b79e54a585228903 (diff)
fix: kinda fixed the sxhkdrc to make the brightness work, requires you to export a BRIGHTNESS environment variable. But still, it doesn't really work
Diffstat (limited to 'scripts/setbrightness')
-rwxr-xr-xscripts/setbrightness10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/setbrightness b/scripts/setbrightness
new file mode 100755
index 0000000..df53b6d
--- /dev/null
+++ b/scripts/setbrightness
@@ -0,0 +1,10 @@
+# ███╗ ███╗
+# author: marcellus <msimon_fr@hotmail.com> ████╗ ████║
+# ██╔████╔██║
+# created: Thu, 08 Jun 2023 21:44:29 +0200 ██║╚██╔╝██║
+# updated: Thu, 08 Jun 2023 23:48:49 +0200 =## . :#%*=:.
+# ╚═╝ ╚═╝
+
+#!/bin/sh
+
+xrandr --output eDP-1 --brightness $1