mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
8 lines
260 B
Bash
Executable File
8 lines
260 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Match against the computer's DMI product name or product family (case-insensitive).
|
|
# omarchy:args=<pattern>
|
|
|
|
grep -qi "$1" /sys/class/dmi/id/product_name 2>/dev/null ||
|
|
grep -qi "$1" /sys/class/dmi/id/product_family 2>/dev/null
|