Skip to content

Instantly share code, notes, and snippets.

@cedricfarinazzo
Created January 13, 2020 23:26
Show Gist options
  • Save cedricfarinazzo/5015d4175a544c9dbce8d1510dbebcb1 to your computer and use it in GitHub Desktop.
Save cedricfarinazzo/5015d4175a544c9dbce8d1510dbebcb1 to your computer and use it in GitHub Desktop.

Simple alarm clock for Arch linux

Dependency

Setup

alias alarmclock="amixer -D pulse set Master 50% && sudo wakeup -e \"mplayer -loop 10 $HOME/Music/path_to_sound.mp4\""

Example

  • alarmclock 10h: Your PC will wake up in 10 hours and play the song
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment