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