Skip to content

Commit

Permalink
add beep alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Glench committed Jan 13, 2017
1 parent 72272eb commit f3e0e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dotfiles/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ webserver() {
alias mkcd='mkdir_and_cd'
alias up='update_code'
alias di='diff_code'
alias beep='afplay /System/Library/Sounds/Glass.aiff || echo -e "\a"'
fix_webcam() {
sudo killall VDCAssistant
}
Expand Down
1 change: 1 addition & 0 deletions idlemuter.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

if os.getuid() != 0:
raise Exception('need to run as sudo in order to change volume apparently')
print 'running'

def get_idle_time():
# for some reason this didn't seem to work using envoy
Expand Down

0 comments on commit f3e0e8d

Please sign in to comment.