From 50250d3183bf6cefdf99450feff4a77fb97e9482 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 30 Jun 2024 18:36:09 +0545 Subject: [PATCH] update --- config/ags/modules/bar.ts | 9 +++++---- setup | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/ags/modules/bar.ts b/config/ags/modules/bar.ts index 848ac721..306d1ad3 100644 --- a/config/ags/modules/bar.ts +++ b/config/ags/modules/bar.ts @@ -3,7 +3,7 @@ const battery = await Service.import("battery") const systemtray = await Service.import("systemtray") const audio = await Service.import("audio") const network = await Service.import("network") -const { Gtk, GLib, Gio } = imports.gi; +const { GLib, Gio } = imports.gi; const encoder = new TextEncoder(); const decoder = new TextDecoder(); import { OpenSettings } from "apps/settings/main.ts"; @@ -16,6 +16,7 @@ import { FileEnumerator, FileInfo } from "types/@girs/gio-2.0/gio-2.0.cjs" const mpris = await Service.import("mpris") const bluetooth = await Service.import("bluetooth") const { Box, Button, EventBox } = Widget; +import Gtk from "gi://Gtk?version=3.0" function checkKeymap() { @@ -389,9 +390,9 @@ function TaskBar() { clients.forEach(item => { let widget = globalWidgets.find(w => w.attribute.pid === item.pid); - //if (item.class == "kitty") { - // return; - //} + if (item.class == "kitty") { + return; + } if (widget) { widget.tooltip_markup = item.title; } else { diff --git a/setup b/setup index 036be56f..1a7c2923 100755 --- a/setup +++ b/setup @@ -74,6 +74,7 @@ pkg=( tmux lazygit btop + lshw ## Bluetooth bluez