Add xrandr helper scripts

master
Hektor Misplon 2022-12-02 13:21:10 +01:00
parent 19e9241ac8
commit 30443ccf9c
1 changed files with 3 additions and 0 deletions

3
.bin/xrandr/get-displays Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
xrandr -q --current | sed -n 's/^\([^ ]\+\) connected .*/\1/p'