From ac3d352816b2ac1b942e4538b66feb048ff47384 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:35:07 +0400 Subject: [PATCH] ags shennanigans 2 --- config/ags/config.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/config/ags/config.js b/config/ags/config.js index d2c9042a..337061bd 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -211,12 +211,18 @@ function Bar(monitor = 0) { }) } +var hostname = Utils.exec("cat /etc/hostname"); + +addExtraBar: if (hostname === "sakotop") { + break addExtraBar; +} else if (hostname === "sakopc") { + App.addWindow(Bar(1)); +} + App.config({ style: "./style.css", windows: [ - Bar() - // Bar(0), - // Bar(1) + Bar(), ], })