diff --git a/config/ags/config.js b/config/ags/config.js index 53e7a64c..59ea93b6 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -211,7 +211,7 @@ function Bar(monitor = 0) { }) } -var hostname = Utils.exec("cat /etc/hostname"); +var hostname = Utils.readFile("/etc/hostname"); var hosts = ["sakotop", "sakopc"]; addExtraBar: if (hostname === hosts[0]) {