User Tools

Site Tools


linux:udev

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:udev [2020/09/09 10:24] – created mslinux:udev [2023/01/11 20:29] (current) – external edit 127.0.0.1
Line 29: Line 29:
 level=`cat /sys/class/power_supply/BAT0/capacity_level` level=`cat /sys/class/power_supply/BAT0/capacity_level`
 if [ "$level" = "Full" ]; then if [ "$level" = "Full" ]; then
-  echo -e "Batterie-Status:\n$stat\n$level $cap %"|osd_cat --colour=green -f '-adobe-courier-bold-r-*-*-180-*-*-*-*-*-*-*' -O 10 -p bottom -A center -o 600 -d &+  echo -e "Batterie-Status:\n$stat\n$level $cap %"|osd_cat --colour=green -f '-adobe-courier-bold-r-*-*-180-*-*-*-*-*-*-*' -O 10 -p bottom -A center -o 600 -d &
 fi fi
 if [ "$level" = "Normal" ]; then if [ "$level" = "Normal" ]; then
-  echo -e "Batterie-Status:\n$stat\n$level $cap %"|osd_cat --colour=green -f '-adobe-courier-bold-r-*-*-180-*-*-*-*-*-*-*' -O 10 -p bottom -A center -o 600 -d &+  echo -e "Batterie-Status:\n$stat\n$level $cap %"|osd_cat --colour=green -f '-adobe-courier-bold-r-*-*-180-*-*-*-*-*-*-*' -O 10 -p bottom -A center -o 600 -d &
   beep -f 50   beep -f 50
 fi fi
linux/udev.1599639887.txt.gz · Last modified: 2023/01/11 20:30 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki