From 30443ccf9c51e33d90a4633f46fa7fadbf4a68ec Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Fri, 2 Dec 2022 13:21:10 +0100 Subject: [PATCH] Add xrandr helper scripts --- .bin/xrandr/get-displays | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 .bin/xrandr/get-displays diff --git a/.bin/xrandr/get-displays b/.bin/xrandr/get-displays new file mode 100755 index 0000000..53e717a --- /dev/null +++ b/.bin/xrandr/get-displays @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +xrandr -q --current | sed -n 's/^\([^ ]\+\) connected .*/\1/p'