added failglob and LC_ALL
This commit is contained in:
parent
88b0833a27
commit
5adf91302a
10 changed files with 33 additions and 10 deletions
2
brght
2
brght
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# docstring=simplifies the brightnessctl command
|
||||
set -E -o pipefail
|
||||
shopt -s failglob
|
||||
export LC_ALL=C.UTF8
|
||||
|
||||
# when invoked without parameter will print current brightness in percent
|
||||
# it accepts a parameter from 0 to 100 for brightness. Please ommit the % symbol.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue