Skip to content

Instantly share code, notes, and snippets.

View martindemello's full-sized avatar

Martin DeMello martindemello

View GitHub Profile
@Zenithar
Zenithar / brightness.sh
Last active November 19, 2020 14:53
i3 fancy volume && brightness
#!/bin/bash
LEVEL=$(xbacklight -get | xargs printf "%.f")
case "$1" in
"up")
[[ "$LEVEL" -eq 100 ]]
xbacklight -inc 5
;;
"down")