octopus changes
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
7b9c95c0eb
commit
4b72214091
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#set -x
|
set -x
|
||||||
#OCTOPUS=~/Programmation/Utils/octopus.sh
|
#OCTOPUS=~/Programmation/Utils/octopus.sh
|
||||||
#This octopus handles all the actions like volume up, refresh status bar, etc..
|
#This octopus handles all the actions like volume up, refresh status bar, etc..
|
||||||
|
|
||||||
|
@ -26,6 +26,17 @@ case $1 in
|
||||||
$0 refresh
|
$0 refresh
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"brightness"|"bright")
|
||||||
|
case $2 in
|
||||||
|
"up")
|
||||||
|
sudo brightnessctl set "+5%"
|
||||||
|
;;
|
||||||
|
"down")
|
||||||
|
sudo brightnessctl set "5%-"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
"monitor")
|
"monitor")
|
||||||
#SNU=`xrandr | grep VGA | cut -d' ' -f1 | cut -c4`
|
#SNU=`xrandr | grep VGA | cut -d' ' -f1 | cut -c4`
|
||||||
|
|
Loading…
Reference in a new issue