Files
omarchycn/bin/omarchy-hw-match
T

7 lines
171 B
Bash
Executable File

#!/bin/bash
# Match against the computer's DMI product name (case-insensitive).
# Usage: omarchy-hw-match "XPS"
grep -qi "$1" /sys/class/dmi/id/product_name 2>/dev/null