Rename bar.js file to index.js and fix styling for switches and media progress bar.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const battery = await Service.import("battery");
|
||||
import { closeAllMenus } from "../bar.js";
|
||||
import { closeAllMenus } from "../index.js";
|
||||
|
||||
const BatteryLabel = () => {
|
||||
const isVis = Variable(battery.available);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const bluetooth = await Service.import('bluetooth')
|
||||
import { closeAllMenus } from "../bar.js";
|
||||
import { closeAllMenus } from "../index.js";
|
||||
|
||||
const Bluetooth = () => {
|
||||
const btIcon = Widget.Label({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { closeAllMenus } from "../bar.js";
|
||||
import { closeAllMenus } from "../index.js";
|
||||
|
||||
const date = Variable("", {
|
||||
poll: [1000, 'date "+ %a %b %d %I:%M:%S %p"'],
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const mpris = await Service.import("mpris");
|
||||
import { closeAllMenus } from "../bar.js";
|
||||
import { closeAllMenus } from "../index.js";
|
||||
|
||||
const Media = () => {
|
||||
const activePlayer = Variable(mpris.players[0]);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const network = await Service.import("network");
|
||||
import { closeAllMenus } from "../bar.js";
|
||||
import { closeAllMenus } from "../index.js";
|
||||
|
||||
import { globalMousePos } from "../../../globals.js";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const audio = await Service.import("audio");
|
||||
import { closeAllMenus } from "../bar.js";
|
||||
import { closeAllMenus } from "../index.js";
|
||||
|
||||
import { globalMousePos } from "../../../globals.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user