scripts
This commit is contained in:
commit
6e5095f3cf
35 changed files with 453 additions and 0 deletions
12
dwm/bright.sh
Executable file
12
dwm/bright.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) /home/swebb/Scripts/dwm/brightMenu.sh;;
|
||||
esac
|
||||
|
||||
light="1%"
|
||||
if [ $(brightnessctl -d intel_backlight get) -ne 1 ]; then
|
||||
light="$(awk "BEGIN { print $(brightnessctl -d intel_backlight get)/1200}")%"
|
||||
fi
|
||||
|
||||
echo "^c#FED06E^ ${light} "
|
||||
Loading…
Add table
Add a link
Reference in a new issue