From 13a78ed9a32dc4127533d0da929fcc8d05b4b4a7 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:22:41 +0400 Subject: [PATCH] ags shennanigans ags 2 ags 3 ags 4 ags 5 --- config/ags/config.js | 6 +++--- config/ags/style.css | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/ags/config.js b/config/ags/config.js index 5c6d53e1..363c37f5 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -4,6 +4,7 @@ const mpris = await Service.import("mpris") const audio = await Service.import("audio") const battery = await Service.import("battery") const systemtray = await Service.import("systemtray") +import * as Utils from 'resource:///com/github/Aylur/ags/utils.js' const date = Variable("", { poll: [1000, 'date "+%H:%M:%S %b %e."'], @@ -200,6 +201,7 @@ function Bar(monitor = 0) { class_name: "bar", monitor, anchor: ["top", "left", "right"], + margins: [10, 10, 0, 10], exclusivity: "exclusive", child: Widget.CenterBox({ start_widget: Left(), @@ -212,9 +214,7 @@ function Bar(monitor = 0) { App.config({ style: "./style.css", windows: [ - Bar(), - - // you can call it, for each monitor + Bar() // Bar(0), // Bar(1) ], diff --git a/config/ags/style.css b/config/ags/style.css index 1f873a45..c099733a 100644 --- a/config/ags/style.css +++ b/config/ags/style.css @@ -1,5 +1,5 @@ * { - border-radius: 0px; + border-radius: 0px; } window.bar {