This commit is contained in:
sankalp committed 2024-06-30 18:36:09 +05:45
1 parent 0df77a7468
commit 50250d3183
2 files changed
+6 -4

No files matched your search

+5 -4
View File
@@ -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 {
+1
View File
@@ -74,6 +74,7 @@ pkg=(
tmux
lazygit
btop
lshw
## Bluetooth
bluez