|
@@ -39,7 +39,7 @@ disp() { |
|
|
|
|
|
|
|
|
CHKLEVEL=$(cat ${INTERFACE}) |
|
|
CHKLEVEL=$(cat ${INTERFACE}) |
|
|
|
|
|
|
|
|
notify-send "Display backlight level changed" \ |
|
|
|
|
|
|
|
|
notify-send -t 500 "Display backlight level changed" \ |
|
|
"${CURRLEVEL} -> ${CHKLEVEL}" |
|
|
"${CURRLEVEL} -> ${CHKLEVEL}" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -64,7 +64,7 @@ kbd() { |
|
|
|
|
|
|
|
|
CHKLEVEL=$(cat ${INTERFACE}) |
|
|
CHKLEVEL=$(cat ${INTERFACE}) |
|
|
|
|
|
|
|
|
notify-send "Keyboard backlight level changed" \ |
|
|
|
|
|
|
|
|
notify-send -t 500 "Keyboard backlight level changed" \ |
|
|
"${CURRLEVEL} -> ${CHKLEVEL}" |
|
|
"${CURRLEVEL} -> ${CHKLEVEL}" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@@ -94,7 +94,7 @@ fan() { |
|
|
|
|
|
|
|
|
CHKMODE=$(cat ${INTERFACE}) |
|
|
CHKMODE=$(cat ${INTERFACE}) |
|
|
|
|
|
|
|
|
notify-send "Fan mode changed" \ |
|
|
|
|
|
|
|
|
notify-send -t 500 "Fan mode changed" \ |
|
|
"${MODELIST[${CURRMODE}]} -> ${MODELIST[${CHKMODE}]}" |
|
|
"${MODELIST[${CURRMODE}]} -> ${MODELIST[${CHKMODE}]}" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|