Browse Source

Shorter notifications on g14control.sh

master
haemka 3 years ago
parent
commit
8f2e9a23de
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      g14control.sh

+ 3
- 3
g14control.sh View File

@@ -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}]}"
} }




Loading…
Cancel
Save