summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authormarcellus <msimon_fr@hotmail.com>2023-06-08 20:37:20 +0200
committermarcellus <msimon_fr@hotmail.com>2023-06-08 20:37:20 +0200
commita6a7d0273b1941c3145b97a9463eea13577e31e7 (patch)
tree40fe103746240ab4dd51291071f816b2d331caae /zsh
parent236fd252056ead6a4b4c489f3323f5ce4603d84c (diff)
feat: added brightness control support
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 15618ff..d6485c0 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -59,3 +59,7 @@ zstyle ':vcs_info:*' enable git
qc(){
cc "$1" && ./a.out
}
+
+setbrightness() {
+ xrandr --output eDP-1 --brightness $1
+}