dot/scripts/primary-display.sh

4 lines
49 B
Bash
Raw Normal View History

2023-10-09 16:42:22 +00:00
#!/bin/sh
xrandr | awk '/ primary / {print $1}'