feat: more updates

This commit is contained in:
2024-01-02 13:12:39 +01:00
parent 32d78e57a3
commit cf80fb3f24
5 changed files with 31 additions and 54 deletions

View File

@@ -87,7 +87,6 @@ const End = () =>
SeparatorDot(Recorder, (r) => r.recording),
SystemIndicators(),
SeparatorDot(Battery, (b) => b.available),
BatteryBar(),
SeparatorDot(),
PowerMenu(),
],

View File

@@ -1,7 +1,6 @@
import Applauncher from "./applauncher/Applauncher.js";
import Dashboard from "./dashboard/Dashboard.js";
import Desktop from "./desktop/Desktop.js";
import FloatingDock from "./dock/FloatingDock.js";
import Lockscreen from "./lockscreen/Lockscreen.js";
import Notifications from "./notifications/Notifications.js";
import OSD from "./osd/OSD.js";
@@ -21,7 +20,6 @@ initWallpaper();
const windows = () => [
forMonitors(Desktop),
forMonitors(FloatingDock),
forMonitors(Lockscreen),
forMonitors(Notifications),
forMonitors(OSD),

View File

@@ -267,7 +267,7 @@ export default {
}),
},
workspaces: Option(7, {
workspaces: Option(0, {
category: "Bar",
title: "No. workspaces on bar and overview",
note: "Set it to 0 to make it dynamic",

View File

@@ -28,8 +28,6 @@ function getColor(scss) {
}
export function hyprlandInit() {
if (readFile("/tmp/ags/hyprland-init")) return;
sendBatch(
Array.from(App.windows).flatMap(([name]) => [
`layerrule blur, ${name}`,
@@ -38,8 +36,6 @@ export function hyprlandInit() {
: `layerrule ignorealpha 0.6, ${name}`,
]),
);
writeFile("init", "/tmp/ags/hyprland-init");
}
export async function setupHyprland() {