This will show you how to build a fully customizable clock and date layout on your Elgato Stream Deck using BetterTouchTool on a Mac. Each digit is displayed on its own button for maximum readability and design control.

We'll split the time and date across multiple buttons using Shell Script Widgets in BetterTouchTool.


🔧 What You'll Need

📁 Folder Setup

Create a folder to store all your scripts:

mkdir -p ~/Scripts/streamdeck


⏰ Section 1: Time Setup (HH\:MM, 12-hour format)

▶️ Scripts: Hour (12-hour format)

hour\_digit1.sh

#!/bin/bash
date +"%I" | cut -c1

hour\_digit2.sh

#!/bin/bash
date +"%I" | cut -c2

▶️ Scripts: Minute

minute\_digit1.sh

#!/bin/bash
date +"%M" | cut -c1