Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

handle-acpi 551B

12345678910111213141516171819202122
  1. #!/usr/bin/env sh
  2. #
  3. # pbrisbin 2014 - called directly from /etc/acpi/handler.sh
  4. #
  5. ###
  6. bin="$(dirname "$0")"
  7. case "$1" in
  8. battery) "$bin"/runx "$bin"/osb ;;
  9. button/screenlock) "$bin"/runx slock ;;
  10. video/brightnessdown) "$bin"/bl d ;;
  11. video/brightnessup) "$bin"/bl u ;;
  12. # Mic mute
  13. button/f20) amixer sset Capture toggle ;;
  14. # Ignored events
  15. ac_adapter|*/volume*|*/mute) : ;;
  16. ibm/hotkey|thermal_zone) : ;;
  17. *) "$bin"/runx notify-send -i 'emblem-important' 'ACPI action' "$*" ;;
  18. esac