transparent zed and shit

This commit is contained in:
notgne2 2025-10-15 22:22:19 -07:00
parent 7734f09c89
commit 91068b7338
No known key found for this signature in database
4 changed files with 388 additions and 35 deletions

View file

@ -91,14 +91,27 @@ in {
# inputs.hypr-dynamic-cursors.packages.${pkgs.stdenv.hostPlatform.system}.hypr-dynamic-cursors
hy3
hypr-dynamic-cursors
(inputs.hypr-darkwindow.packages.${pkgs.stdenv.hostPlatform.system}.Hypr-DarkWindow.overrideAttrs (super: {
buildInputs = with pkgs; [hyprland.dev] ++ hyprland.buildInputs;
}))
];
settings = {
# "darkwindow:shader[black]" = {
# from = "chromakey";
# args = "bkg=[0.0 0.0 0.0] similarity=0.0 amount=0.0 targetOpacity=0.0";
# };
"plugin:dynamic-cursors" = {
mode = "stretch";
mode = "rotate";
shake.enabled = false;
};
"plugin:hy3" = {
no_gaps_when_only = 1;
};
layerrule = [
"ignorealpha 0.1, ashell-main-layer"
"blur,ashell-main-layer"
"blur,avizo"
];
ecosystem = {
no_update_news = true;
no_donation_nag = true;
@ -130,6 +143,8 @@ in {
"pin,class:(flameshot),title:(flameshot)"
"fullscreenstate,class:(flameshot),title:(flameshot)"
"float,class:(flameshot),title:(flameshot)"
"plugin:shadewindow chromakey bkg=[0 0 0] similarity=0.02 amount=1 targetOpacity=0.8, class:librewolf"
];
bind =
[
@ -240,8 +255,10 @@ in {
enable = true;
systemd.enable = true;
settings = {
clock.format = "%a %d %b %r";
workspaces.visibility_mode = "MonitorSpecific";
modules = {
left = ["Workspaces" "WindowTitle"];
left = [["Workspaces" "WindowTitle"] "Tray"];
center = ["MediaPlayer"];
right = ["SystemInfo" ["Clock" "Privacy" "Settings"]];
};
@ -250,6 +267,14 @@ in {
programs.librewolf.enable = true;
programs.zed-editor = {
themes.transparency = config.lib.stylix.colors {
template = ./zed-transparent.mustache;
extension = ".json";
};
userSettings.theme = lib.mkForce "Base16 Transparent ${config.lib.stylix.colors.scheme-name}";
};
stylix = {
enable = lib.mkDefault true;
autoEnable = lib.mkDefault true;
@ -267,10 +292,10 @@ in {
};
opacity = {
terminal = lib.mkDefault 0.8;
popups = lib.mkDefault 0.8;
terminal = lib.mkDefault 0.85;
popups = lib.mkDefault 0.7;
desktop = lib.mkDefault 0.6;
applications = lib.mkDefault 0.8;
applications = lib.mkDefault 0.85;
};
};