mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: more updates
This commit is contained in:
@@ -87,7 +87,6 @@ const End = () =>
|
|||||||
SeparatorDot(Recorder, (r) => r.recording),
|
SeparatorDot(Recorder, (r) => r.recording),
|
||||||
SystemIndicators(),
|
SystemIndicators(),
|
||||||
SeparatorDot(Battery, (b) => b.available),
|
SeparatorDot(Battery, (b) => b.available),
|
||||||
BatteryBar(),
|
|
||||||
SeparatorDot(),
|
SeparatorDot(),
|
||||||
PowerMenu(),
|
PowerMenu(),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import Applauncher from "./applauncher/Applauncher.js";
|
import Applauncher from "./applauncher/Applauncher.js";
|
||||||
import Dashboard from "./dashboard/Dashboard.js";
|
import Dashboard from "./dashboard/Dashboard.js";
|
||||||
import Desktop from "./desktop/Desktop.js";
|
import Desktop from "./desktop/Desktop.js";
|
||||||
import FloatingDock from "./dock/FloatingDock.js";
|
|
||||||
import Lockscreen from "./lockscreen/Lockscreen.js";
|
import Lockscreen from "./lockscreen/Lockscreen.js";
|
||||||
import Notifications from "./notifications/Notifications.js";
|
import Notifications from "./notifications/Notifications.js";
|
||||||
import OSD from "./osd/OSD.js";
|
import OSD from "./osd/OSD.js";
|
||||||
@@ -21,7 +20,6 @@ initWallpaper();
|
|||||||
|
|
||||||
const windows = () => [
|
const windows = () => [
|
||||||
forMonitors(Desktop),
|
forMonitors(Desktop),
|
||||||
forMonitors(FloatingDock),
|
|
||||||
forMonitors(Lockscreen),
|
forMonitors(Lockscreen),
|
||||||
forMonitors(Notifications),
|
forMonitors(Notifications),
|
||||||
forMonitors(OSD),
|
forMonitors(OSD),
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ export default {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
||||||
workspaces: Option(7, {
|
workspaces: Option(0, {
|
||||||
category: "Bar",
|
category: "Bar",
|
||||||
title: "No. workspaces on bar and overview",
|
title: "No. workspaces on bar and overview",
|
||||||
note: "Set it to 0 to make it dynamic",
|
note: "Set it to 0 to make it dynamic",
|
||||||
|
|||||||
@@ -28,8 +28,6 @@ function getColor(scss) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function hyprlandInit() {
|
export function hyprlandInit() {
|
||||||
if (readFile("/tmp/ags/hyprland-init")) return;
|
|
||||||
|
|
||||||
sendBatch(
|
sendBatch(
|
||||||
Array.from(App.windows).flatMap(([name]) => [
|
Array.from(App.windows).flatMap(([name]) => [
|
||||||
`layerrule blur, ${name}`,
|
`layerrule blur, ${name}`,
|
||||||
@@ -38,8 +36,6 @@ export function hyprlandInit() {
|
|||||||
: `layerrule ignorealpha 0.6, ${name}`,
|
: `layerrule ignorealpha 0.6, ${name}`,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
|
|
||||||
writeFile("init", "/tmp/ags/hyprland-init");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function setupHyprland() {
|
export async function setupHyprland() {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
];
|
];
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"swww init"
|
"swww init"
|
||||||
"ags"
|
"ags -b hypr"
|
||||||
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
"systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
||||||
"dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
"dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XAUTHORITY"
|
||||||
"gnome-keyring-daemon --start --components=secrets"
|
"gnome-keyring-daemon --start --components=secrets"
|
||||||
@@ -43,6 +43,7 @@
|
|||||||
"col.inactive_border" = "rgba(31313600)";
|
"col.inactive_border" = "rgba(31313600)";
|
||||||
|
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
|
resize_on_border = true;
|
||||||
};
|
};
|
||||||
dwindle.preserve_split = true;
|
dwindle.preserve_split = true;
|
||||||
dwindle.pseudotile = true;
|
dwindle.pseudotile = true;
|
||||||
@@ -59,9 +60,6 @@
|
|||||||
];
|
];
|
||||||
monitor = import ./monitors.nix;
|
monitor = import ./monitors.nix;
|
||||||
workspace = [
|
workspace = [
|
||||||
"100,monitor:DP-1,default:true"
|
|
||||||
"200,monitor:HDMI-A-1,default:true"
|
|
||||||
"300,monitor:DP-3:default:true"
|
|
||||||
"special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc"
|
"special:calc,border:false,gapsout:200,on-created-empty:[noanim;silent] kitty -e qalc"
|
||||||
];
|
];
|
||||||
windowrule = [
|
windowrule = [
|
||||||
@@ -86,57 +84,43 @@
|
|||||||
"rounding 10,class:^(gcr-prompter)$"
|
"rounding 10,class:^(gcr-prompter)$"
|
||||||
"animation slide,class:^(gcr-prompter)$"
|
"animation slide,class:^(gcr-prompter)$"
|
||||||
];
|
];
|
||||||
|
misc = {
|
||||||
|
layers_hog_keyboard_focus = false;
|
||||||
|
disable_splash_rendering = true;
|
||||||
|
force_default_wallpaper = 0;
|
||||||
|
};
|
||||||
layerrule = [
|
layerrule = [
|
||||||
"noanim, noanim"
|
|
||||||
"blur, noanim"
|
|
||||||
"blur, gtk-layer-shell"
|
|
||||||
"ignorezero, gtk-layer-shell"
|
|
||||||
"blur, launcher"
|
|
||||||
"ignorealpha 0.3, launcher"
|
|
||||||
"blur, notifications"
|
|
||||||
"ignorealpha 0.3, notifications"
|
|
||||||
"blur, anyrun"
|
"blur, anyrun"
|
||||||
"ignorealpha 0.3, anyrun"
|
"ignorealpha 0.3, anyrun"
|
||||||
# ags
|
|
||||||
"blur, bar"
|
|
||||||
"ignorealpha 0.3, bar"
|
|
||||||
"blur, corner.*"
|
|
||||||
"ignorealpha 0.3, corner.*"
|
|
||||||
"blur, indicator.*"
|
|
||||||
"ignorealpha 0.3, indicator.*"
|
|
||||||
"blur, overview"
|
|
||||||
"ignorealpha 0.3, overview"
|
|
||||||
"xray 0, overview"
|
|
||||||
"blur, cheatsheet"
|
|
||||||
"ignorealpha 0.3, cheatsheet"
|
|
||||||
"blur, sideright"
|
|
||||||
"ignorealpha 0.3, sideright"
|
|
||||||
"blur, sideleft"
|
|
||||||
"ignorealpha 0.3, sideleft"
|
|
||||||
"blur, indicatorundefined"
|
|
||||||
"ignorealpha 0.3, indicatorundefined"
|
|
||||||
"blur, osk"
|
|
||||||
"ignorealpha 0.3, osk"
|
|
||||||
"blur, session"
|
|
||||||
];
|
|
||||||
animation = [
|
|
||||||
"specialWorkspace,1,4,default,fade"
|
|
||||||
"fade,1,1,default"
|
|
||||||
];
|
];
|
||||||
decoration = {
|
decoration = {
|
||||||
rounding = 8;
|
drop_shadow = "yes";
|
||||||
|
shadow_range = 8;
|
||||||
|
shadow_render_power = 2;
|
||||||
|
"col.shadow" = "rgba(00000044)";
|
||||||
|
|
||||||
|
dim_inactive = false;
|
||||||
|
|
||||||
blur = {
|
blur = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
xray = false;
|
size = 8;
|
||||||
|
passes = 3;
|
||||||
size = 6;
|
noise = 0.01;
|
||||||
passes = 4;
|
contrast = 0.9;
|
||||||
|
brightness = 0.8;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
drop_shadow = true;
|
animations = {
|
||||||
shadow_range = 15;
|
enabled = "yes";
|
||||||
shadow_render_power = 6;
|
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||||
"col.shadow" = "rgba(00000044)";
|
animation = [
|
||||||
|
"windows, 1, 5, myBezier"
|
||||||
|
"windowsOut, 1, 7, default, popin 80%"
|
||||||
|
"border, 1, 10, default"
|
||||||
|
"fade, 1, 7, default"
|
||||||
|
"workspaces, 1, 6, default"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user