aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo')
-rw-r--r--hardinfo/x_util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hardinfo/x_util.c b/hardinfo/x_util.c
index 52888a8c..07d5226a 100644
--- a/hardinfo/x_util.c
+++ b/hardinfo/x_util.c
@@ -151,7 +151,7 @@ gboolean fill_xinfo(xinfo *xi) {
gboolean fill_xrr_info(xrr_info *xrr) {
gboolean spawned;
gchar *out, *err, *p, *next_nl;
- gchar *xrr_cmd = g_strdup("xrandr");
+ gchar *xrr_cmd = g_strdup("xrandr --prop");
int ec;
x_screen ts;
@@ -192,7 +192,6 @@ gboolean fill_xrr_info(xrr_info *xrr) {
goto xrr_next_line;
}
-
/* looking for:
* <output_id> (connected|disconnected|unknown connection) (primary|?) <%dx%d+%d+%d> (attribute_list) mm x mm
*/