Add wake-me-up script and wmu alias
Runs a command and sends a notification if it takes longer than a second
This commit is contained in:
parent
22d1b2fc45
commit
fbfb29c27f
2 changed files with 8 additions and 0 deletions
7
bin/wake-me-up
Executable file
7
bin/wake-me-up
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
start=$(date +%s)
|
||||
$@
|
||||
if [ $(($(date +%s) - $start)) -gt 0 ]
|
||||
then notify-send "Command finished:" "$*"
|
||||
fi
|
|
@ -19,6 +19,7 @@ alias sakura='oneko -bg "#ffddee" -sakura -name sakura'
|
|||
alias setclip='xclip -selection c'
|
||||
alias tmux='tmux -2'
|
||||
alias w='watch -t -d -n 1'
|
||||
alias wmu='wake-me-up'
|
||||
|
||||
# Funny
|
||||
alias please='sudo'
|
||||
|
|
Loading…
Reference in a new issue