1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/scripts/primary-monitor

3 lines
74 B
Plaintext
Raw Normal View History

#!/bin/bash
xrandr -q | grep " connected" | sed -n '1,/primary/p' | wc -l