dotfiles/dotfiles/i3/.i3/scripts/date

14 lines
308 B
Bash
Executable File

#!/bin/sh
time='<span background="#ffd700"><span foreground="black">  '"$(date '+%H:%M:%S') </span></span>"
date='<span foreground="#ffd700"></span> '"$(date '+%d/%m/%Y')"
case $BLOCK_BUTTON in
1) notify-send -u low "$date" ;;
3) notify-send -u low "$date" ;;
esac
echo -n "$time"
exit 0