From f1e6177d776bc234c89ea7c1a28080fd5ff99325 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:37:38 +0400 Subject: [PATCH] help --- config/ags/config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/ags/config.js b/config/ags/config.js index 337061bd..53e7a64c 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -212,10 +212,11 @@ function Bar(monitor = 0) { } var hostname = Utils.exec("cat /etc/hostname"); +var hosts = ["sakotop", "sakopc"]; -addExtraBar: if (hostname === "sakotop") { +addExtraBar: if (hostname === hosts[0]) { break addExtraBar; -} else if (hostname === "sakopc") { +} else if (hostname === hosts[1]) { App.addWindow(Bar(1)); }