feat(stylix): add opacity and icon theme
This commit is contained in:
parent
ba274c7b56
commit
36ad6bfbf8
2 changed files with 27 additions and 14 deletions
|
@ -9,19 +9,31 @@
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
image = ../../media/wallpaper.jpg;
|
image = ../../media/wallpaper.jpg;
|
||||||
|
iconTheme = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.numix-icon-theme;
|
||||||
|
dark = "Numix";
|
||||||
|
light = "Numix-Light";
|
||||||
|
};
|
||||||
|
opacity = {
|
||||||
|
applications = 0.9;
|
||||||
|
desktop = 0.9;
|
||||||
|
popups = 0.9;
|
||||||
|
terminal = 0.9;
|
||||||
|
};
|
||||||
|
targets.gtk.extraCss = # css
|
||||||
|
''
|
||||||
|
window {
|
||||||
|
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
|
||||||
|
background-size: 100% 2px; /* Adjust height for scanline thickness */
|
||||||
|
background-color: rgba(0, 0, 0, 0.05); /*Very slight transparency*/
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
button:hover {
|
||||||
|
box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); /* Replace color */
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
stylix.targets.gtk.extraCss = # css
|
|
||||||
''
|
|
||||||
window {
|
|
||||||
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
|
|
||||||
background-size: 100% 2px; /* Adjust height for scanline thickness */
|
|
||||||
background-color: rgba(0, 0, 0, 0.05); /*Very slight transparency*/
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
|
|
||||||
}
|
|
||||||
button:hover {
|
|
||||||
box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); /* Replace color */
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,5 +10,6 @@
|
||||||
ttyper
|
ttyper
|
||||||
hyprpicker
|
hyprpicker
|
||||||
inputs.hyprcloser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
inputs.hyprcloser.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||||
|
hyprshade
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue