From f8e2c21e3006cee4aef9456cedab10b3f8f83ad6 Mon Sep 17 00:00:00 2001 From: marcellus Date: Sat, 10 Jun 2023 08:50:02 +0200 Subject: 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 --- zsh/.zshenv | 1 + zsh/.zshrc | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshenv b/zsh/.zshenv index 54752cb..eba98af 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -2,6 +2,7 @@ export PATH="$HOME/.config/scripts:$PATH" export TERMINAL="st" export EDITOR="nvim" export BROWSER="librewolf" +export BRIGHTNESS=1 export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/data" diff --git a/zsh/.zshrc b/zsh/.zshrc index d6485c0..6dddacf 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -60,6 +60,3 @@ qc(){ cc "$1" && ./a.out } -setbrightness() { - xrandr --output eDP-1 --brightness $1 -} -- cgit v1.2.3