aboutsummaryrefslogblamecommitdiffstats
path: root/modules/backlight
blob: 2e4fe88282c9e5b4c758a02d9ea9fc0821116613 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                              
#!/bin/bash

# Prints the backlight percentage
# Requires the light package

PREFIX='ﯧ'

get_backlight()
{
    echo "$PREFIX $(light | sed 's/\..*//g')%"
}

get_backlight