diff options
author | Vikas Kushwaha <dev@vikas.rocks> | 2025-05-21 14:30:00 +0530 |
---|---|---|
committer | Vikas Kushwaha <dev@vikas.rocks> | 2025-05-21 14:30:00 +0530 |
commit | 0d397e4d3d204a1e016c0863815f0b5dc516c46b (patch) | |
tree | 5e5db5a8b53555783ca3b5679bc21876e9de0b6c /.local/bin/desktop/brightness | |
parent | e55ad8ca4f99fa024106d5695a55f9ac132d7b68 (diff) |
added some new scripts and cleaned up nvim directory
Diffstat (limited to '.local/bin/desktop/brightness')
-rwxr-xr-x | .local/bin/desktop/brightness | 1 |
1 files changed, 1 insertions, 0 deletions
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" |