stylix
This commit is contained in:
@@ -89,7 +89,7 @@ in
|
|||||||
NIXOS_XDG_OPEN_USE_PORTAL = "1";
|
NIXOS_XDG_OPEN_USE_PORTAL = "1";
|
||||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||||
QT_QPA_PLATFORM = "wayland-egl";
|
QT_QPA_PLATFORM = "wayland-egl";
|
||||||
QT_QPA_PLATFORMTHEME = "gtk3";
|
QT_QPA_PLATFORMTHEME = lib.mkDefault "gtk3";
|
||||||
QT_SCALE_FACTOR = "1";
|
QT_SCALE_FACTOR = "1";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland";
|
||||||
@@ -171,18 +171,18 @@ in
|
|||||||
hyprlock = {
|
hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
background = [
|
background = mkForce [
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "/run/wallpaper.jpg"; # supports png, jpg, webp (no animations, though)
|
path = "/run/wallpaper.jpg"; # supports png, jpg, webp (no animations, though)
|
||||||
color = mkForce "rgba(25, 20, 20, 1.0)";
|
color = mkDefault "rgba(25, 20, 20, 1.0)";
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
blur_passes = mkForce "3"; # 0 disables blurring
|
blur_passes = mkDefault "3"; # 0 disables blurring
|
||||||
blur_size = mkForce "7";
|
blur_size = mkDefault "7";
|
||||||
noise = "0.0117";
|
noise = "0.0117";
|
||||||
contrast = "0.8916";
|
contrast = "0.8916";
|
||||||
brightness = mkForce "0.8172";
|
brightness = mkDefault "0.8172";
|
||||||
vibrancy = "0.1696";
|
vibrancy = "0.1696";
|
||||||
vibrancy_darkness = "0.0";
|
vibrancy_darkness = "0.0";
|
||||||
}
|
}
|
||||||
@@ -250,7 +250,7 @@ in
|
|||||||
# user box
|
# user box
|
||||||
shape = [
|
shape = [
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = cfg.primaryDisplay;
|
||||||
size = "200, 50";
|
size = "200, 50";
|
||||||
color = "rgba(46, 52, 64, .25)";
|
color = "rgba(46, 52, 64, .25)";
|
||||||
rounding = -1;
|
rounding = -1;
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableReleaseChecks = false;
|
enableReleaseChecks = false;
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
||||||
|
polarity = "dark";
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
name = "macOS";
|
name = "macOS";
|
||||||
@@ -77,10 +78,17 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
targets = {
|
targets = {
|
||||||
hyprlock.enable = false;
|
hyprlock = {
|
||||||
gnome.enable = false;
|
enable = false;
|
||||||
# gtk.enable = false;
|
useWallpaper = false;
|
||||||
qt.enable = false;
|
};
|
||||||
|
firefox = {
|
||||||
|
enable = false;
|
||||||
|
profileNames = [
|
||||||
|
"default"
|
||||||
|
"954lxlok.default"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user