dotfiles/dot_bin/executable_blinken

16 lines
346 B
Bash

#! /usr/bin/env bash
if [ -z "$1" ]; then
echo "usage: blinken TIME"
exit 1
fi
while true; do
sleep "$1"
paplay "$XDG_CONFIG_HOME/xmonad/assets/sound/smb_powerup.wav"
notify-send 'gaze into the abyss'
sleep 20.0
paplay "$XDG_CONFIG_HOME/xmonad/assets/sound/smb_pipe.wav"
notify-send 'emerge from the abyss'
done