aboutsummaryrefslogtreecommitdiff
path: root/getResolution.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-12-18 19:17:18 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-12-18 19:17:18 +0100
commitdad345f2af0ebe6b9d62bee1ec2cc7b455b03ed6 (patch)
tree546dc9efb10857845d9c3c4fcb9329441e175847 /getResolution.sh
parentfe934727c9e833bedbcbc7a9f933256e564bafcc (diff)
downloadscripts-dad345f2af0ebe6b9d62bee1ec2cc7b455b03ed6.tar.gz
scripts-dad345f2af0ebe6b9d62bee1ec2cc7b455b03ed6.zip
Minor fix to getResolution.sh regexp.
Diffstat (limited to 'getResolution.sh')
-rwxr-xr-xgetResolution.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/getResolution.sh b/getResolution.sh
index 5f81333..de5e152 100755
--- a/getResolution.sh
+++ b/getResolution.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-xrandr | grep '*' | awk '{print $1}'
+xrandr | grep '\*' | awk '{print $1}'