From 0d397e4d3d204a1e016c0863815f0b5dc516c46b Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Wed, 21 May 2025 14:30:00 +0530 Subject: added some new scripts and cleaned up nvim directory --- .local/bin/desktop/brightness | 1 + 1 file changed, 1 insertion(+) (limited to '.local/bin/desktop/brightness') diff --git a/.local/bin/desktop/brightness b/.local/bin/desktop/brightness index 11733f4..74d3e36 100755 --- a/.local/bin/desktop/brightness +++ b/.local/bin/desktop/brightness @@ -15,6 +15,7 @@ case "$1" in esac brightness="$(brightnessctl --machine-readable | cut -d, -f4)" +echo "$brightness" > "${XDG_STATE_HOME:-$HOME/.local/state}/brightness" if [ -n "$TMUX" ]; then tmux display "Brightness: $brightness" -- cgit v1.2.3