Lots of theming stuff
This commit is contained in:
parent
30f0ea7eb5
commit
4e694ab3d7
|
@ -13,13 +13,24 @@ let
|
||||||
|
|
||||||
catppuccin-latte = {
|
catppuccin-latte = {
|
||||||
stylix = {
|
stylix = {
|
||||||
# image = ./wallpapers/eye.png;
|
image = ./wallpapers/needygirloverdose.jpg;
|
||||||
image = ./wallpapers/watercag.png;
|
|
||||||
base16Scheme = "${inputs.catppuccin-base16}/base16/latte.yaml";
|
base16Scheme = "${inputs.catppuccin-base16}/base16/latte.yaml";
|
||||||
polarity = "light";
|
polarity = "light";
|
||||||
};
|
};
|
||||||
satellite = {
|
satellite = {
|
||||||
transparency.value = 0.6;
|
transparency.alpha = 0.6;
|
||||||
|
rounding.radius = 8.0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
catppuccin-macchiato = {
|
||||||
|
stylix = {
|
||||||
|
image = ./wallpapers/spaceship.jpg;
|
||||||
|
base16Scheme = "${inputs.catppuccin-base16}/base16/macchiato.yaml";
|
||||||
|
polarity = "dark";
|
||||||
|
};
|
||||||
|
satellite = {
|
||||||
|
transparency.alpha = 0.7;
|
||||||
rounding.radius = 8.0;
|
rounding.radius = 8.0;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -34,12 +45,25 @@ let
|
||||||
satellite = { };
|
satellite = { };
|
||||||
};
|
};
|
||||||
# }}}
|
# }}}
|
||||||
|
# {{{ Bluloco variants
|
||||||
|
bluloco-light = {
|
||||||
|
stylix = {
|
||||||
|
image = ./wallpapers/watercag.png;
|
||||||
|
base16Scheme = ./schemes/bluloco-light.yaml;
|
||||||
|
polarity = "light";
|
||||||
|
};
|
||||||
|
satellite = {
|
||||||
|
transparency.alpha = 0.6;
|
||||||
|
rounding.radius = 8.0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
# }}}
|
||||||
# {{{ Experiment: AI generated themes
|
# {{{ Experiment: AI generated themes
|
||||||
gpt = {
|
gpt = {
|
||||||
monopurple-light = {
|
monopurple-light = {
|
||||||
stylix = {
|
stylix = {
|
||||||
image = ./wallpapers/auto/catppuccin-latte-city.png;
|
image = ./wallpapers/auto/catppuccin-latte-city.png;
|
||||||
base16Scheme = ./gpt-themes/monopurple-light.yaml;
|
base16Scheme = ./schemes/gpt-themes/monopurple-light.yaml;
|
||||||
polarity = "light";
|
polarity = "light";
|
||||||
};
|
};
|
||||||
satellite = { };
|
satellite = { };
|
||||||
|
@ -47,18 +71,21 @@ let
|
||||||
|
|
||||||
purplepink-light = {
|
purplepink-light = {
|
||||||
stylix = {
|
stylix = {
|
||||||
image = ./wallpapers/auto/catppuccin-latte-city.png;
|
image = ./wallpapers/needygirloverdose.jpg;
|
||||||
base16Scheme = ./gpt-themes/purplepink-light.yaml;
|
base16Scheme = ./schemes/gpt-themes/purplepink-light.yaml;
|
||||||
polarity = "light";
|
polarity = "light";
|
||||||
};
|
};
|
||||||
satellite = { };
|
satellite = {
|
||||||
|
transparency.alpha = 0.6;
|
||||||
|
rounding.radius = 8.0;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# }}}
|
# }}}
|
||||||
};
|
};
|
||||||
|
|
||||||
# Select your current theme here!
|
# Select your current theme here!
|
||||||
currentTheme = themes.catppuccin-latte;
|
currentTheme = themes.catppuccin-macchiato;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# We apply the current theme here.
|
# We apply the current theme here.
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
scheme: Monopurple Light
|
|
||||||
|
|
||||||
author: OpenAI
|
|
||||||
|
|
||||||
base00: "#ffffff" # Background
|
|
||||||
base01: "#f4e8fd" # Current Line
|
|
||||||
base02: "#e3c9f3" # Selection
|
|
||||||
base03: "#c9addf" # Comments
|
|
||||||
base04: "#9976b3" # Variables
|
|
||||||
base05: "#7a589e" # Normal Text
|
|
||||||
base06: "#563c6d" # String
|
|
||||||
base07: "#3d2647" # Function Calls
|
|
||||||
base08: "#d33682" # Keywords
|
|
||||||
base09: "#cb48b7" # Constants
|
|
||||||
base0A: "#b62da6" # Operators
|
|
||||||
base0B: "#9b00a0" # Numbers
|
|
||||||
base0C: "#7a007f" # Punctuation
|
|
||||||
base0D: "#59005e" # Tag/Markup
|
|
||||||
base0E: "#430046" # Function Definition
|
|
||||||
base0F: "#2e002e" # Deprecated/Obsolete
|
|
|
@ -1,20 +0,0 @@
|
||||||
scheme: Purplepink Light
|
|
||||||
|
|
||||||
author: OpenAI
|
|
||||||
|
|
||||||
base00: "#f9f7ff" # Background
|
|
||||||
base01: "#f2e9ff" # Current line
|
|
||||||
base02: "#d9c7eb" # Selection
|
|
||||||
base03: "#b8a4d8" # Comment
|
|
||||||
base04: "#6e579f" # Foreground
|
|
||||||
base05: "#564c74" # Light Foreground
|
|
||||||
base06: "#45385b" # Dark Foreground
|
|
||||||
base07: "#331f33" # Contrast Foreground
|
|
||||||
base08: "#ee8ae5" # Primary Accent (Pink)
|
|
||||||
base09: "#d670c9" # Secondary Accent (Purple)
|
|
||||||
base0A: "#9f70c9" # Tertiary Accent (Deep Purple)
|
|
||||||
base0B: "#61d6cf" # Bright Aqua
|
|
||||||
base0C: "#9fd2e5" # Light Blue
|
|
||||||
base0D: "#4a8ee0" # Bright Blue
|
|
||||||
base0E: "#ed6e61" # Coral
|
|
||||||
base0F: "#e58f79" # Salmon
|
|
20
common/themes/schemes/bluloco-light.yaml
Normal file
20
common/themes/schemes/bluloco-light.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
scheme: Bluloco light
|
||||||
|
|
||||||
|
author: uloco
|
||||||
|
|
||||||
|
base00: "373a41"
|
||||||
|
base01: "3cbc66"
|
||||||
|
base02: "c5a332"
|
||||||
|
base03: "676a77"
|
||||||
|
base04: "0099e1"
|
||||||
|
base05: "373a41"
|
||||||
|
base06: "ce33c0"
|
||||||
|
base07: "d3d3d3"
|
||||||
|
base08: "23974a"
|
||||||
|
base09: "ff6480"
|
||||||
|
base0A: "df631c"
|
||||||
|
base0B: "23974a"
|
||||||
|
base0C: "27618d"
|
||||||
|
base0D: "275fe4"
|
||||||
|
base0E: "823ff1"
|
||||||
|
base0F: "6d93bb"
|
20
common/themes/schemes/gpt-themes/monopurple-light.yaml
Normal file
20
common/themes/schemes/gpt-themes/monopurple-light.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
scheme: Monopurple Light
|
||||||
|
|
||||||
|
author: OpenAI
|
||||||
|
|
||||||
|
base00: "ffffff" # Background
|
||||||
|
base01: "f4e8fd" # Current Line
|
||||||
|
base02: "e3c9f3" # Selection
|
||||||
|
base03: "c9addf" # Comments
|
||||||
|
base04: "9976b3" # Variables
|
||||||
|
base05: "7a589e" # Normal Text
|
||||||
|
base06: "563c6d" # String
|
||||||
|
base07: "3d2647" # Function Calls
|
||||||
|
base08: "d33682" # Keywords
|
||||||
|
base09: "cb48b7" # Constants
|
||||||
|
base0A: "b62da6" # Operators
|
||||||
|
base0B: "9b00a0" # Numbers
|
||||||
|
base0C: "7a007f" # Punctuation
|
||||||
|
base0D: "59005e" # Tag/Markup
|
||||||
|
base0E: "430046" # Function Definition
|
||||||
|
base0F: "2e002e" # Deprecated/Obsolete
|
20
common/themes/schemes/gpt-themes/purplepink-light.yaml
Normal file
20
common/themes/schemes/gpt-themes/purplepink-light.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
scheme: Purplepink Light
|
||||||
|
|
||||||
|
author: OpenAI
|
||||||
|
|
||||||
|
base00: "f9f7ff" # Background
|
||||||
|
base01: "f2e9ff" # Current line
|
||||||
|
base02: "d9c7eb" # Selection
|
||||||
|
base03: "b8a4d8" # Comment
|
||||||
|
base04: "6e579f" # Foreground
|
||||||
|
base05: "564c74" # Light Foreground
|
||||||
|
base06: "45385b" # Dark Foreground
|
||||||
|
base07: "331f33" # Contrast Foreground
|
||||||
|
base08: "ee8ae5" # Primary Accent (Pink)
|
||||||
|
base09: "d670c9" # Secondary Accent (Purple)
|
||||||
|
base0A: "9f70c9" # Tertiary Accent (Deep Purple)
|
||||||
|
base0B: "61d6cf" # Bright Aqua
|
||||||
|
base0C: "9fd2e5" # Light Blue
|
||||||
|
base0D: "4a8ee0" # Bright Blue
|
||||||
|
base0E: "ed6e61" # Coral
|
||||||
|
base0F: "e58f79" # Salmon
|
BIN
common/themes/wallpapers/needygirloverdose.jpg
Normal file
BIN
common/themes/wallpapers/needygirloverdose.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
BIN
common/themes/wallpapers/rosepine_creepy_moon.jpg
Normal file
BIN
common/themes/wallpapers/rosepine_creepy_moon.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
|
@ -2,7 +2,7 @@
|
||||||
"LuaSnip": { "branch": "master", "commit": "409535b8fc54c650eb845b0c35e0cc7f08810284" },
|
"LuaSnip": { "branch": "master", "commit": "409535b8fc54c650eb845b0c35e0cc7f08810284" },
|
||||||
"abbreinder.nvim": { "branch": "main", "commit": "5b2b5ff08a9ada42238d733aeebc6d3d96314d77" },
|
"abbreinder.nvim": { "branch": "main", "commit": "5b2b5ff08a9ada42238d733aeebc6d3d96314d77" },
|
||||||
"abbremand.nvim": { "branch": "main", "commit": "d633341f632b0b2666dfc6dfe6b9842ba1610a1d" },
|
"abbremand.nvim": { "branch": "main", "commit": "d633341f632b0b2666dfc6dfe6b9842ba1610a1d" },
|
||||||
"catppuccin": { "branch": "main", "commit": "490078b1593c6609e6a50ad5001e7902ea601824" },
|
"bluloco.nvim": { "branch": "main", "commit": "27ad647f0fc3270e732add1533ad9bcbf702f24e" },
|
||||||
"clipboard-image.nvim": { "branch": "main", "commit": "af8fdaad7e6fed0741e18dbf2f57bdc7494adaee" },
|
"clipboard-image.nvim": { "branch": "main", "commit": "af8fdaad7e6fed0741e18dbf2f57bdc7494adaee" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||||
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
|
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
|
||||||
|
@ -33,6 +33,7 @@
|
||||||
"leap": { "branch": "main", "commit": "5efe985cf68fac3b6a6dfe7a75fbfaca8db2af9c" },
|
"leap": { "branch": "main", "commit": "5efe985cf68fac3b6a6dfe7a75fbfaca8db2af9c" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "57610d5ab560c073c465d6faf0c19f200cb67e6e" },
|
"lspkind.nvim": { "branch": "master", "commit": "57610d5ab560c073c465d6faf0c19f200cb67e6e" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
|
"lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" },
|
||||||
|
"lush.nvim": { "branch": "main", "commit": "a8f0f7b9f837887f13a61d67b40ae26188fe4d62" },
|
||||||
"magma-nvim": { "branch": "main", "commit": "ff3deba8a879806a51c005e50782130246143d06" },
|
"magma-nvim": { "branch": "main", "commit": "ff3deba8a879806a51c005e50782130246143d06" },
|
||||||
"mind.nvim": { "branch": "master", "commit": "002137dd7cf97865ebd01b6a260209d2daf2da66" },
|
"mind.nvim": { "branch": "master", "commit": "002137dd7cf97865ebd01b6a260209d2daf2da66" },
|
||||||
"neoconf.nvim": { "branch": "main", "commit": "08f146d53e075055500dca35e93281faff95716b" },
|
"neoconf.nvim": { "branch": "main", "commit": "08f146d53e075055500dca35e93281faff95716b" },
|
||||||
|
|
|
@ -105,15 +105,15 @@ function M.setup()
|
||||||
})
|
})
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Winblend
|
-- -- {{{ Winblend
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = { "Telescope*" },
|
pattern = { "*" },
|
||||||
group = vim.api.nvim_create_augroup("WinblendSettings", {}),
|
group = vim.api.nvim_create_augroup("WinblendSettings", {}),
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt.winblend = 0
|
vim.opt.winblend = 0
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
-- }}}
|
-- -- }}}
|
||||||
|
|
||||||
return M
|
return M
|
||||||
end
|
end
|
||||||
|
|
22
dotfiles/neovim/lua/my/plugins/themes/bluloco.lua
Normal file
22
dotfiles/neovim/lua/my/plugins/themes/bluloco.lua
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
local H = require("my.plugins.themes.helpers")
|
||||||
|
local T = require("nix.theme")
|
||||||
|
|
||||||
|
local M = {
|
||||||
|
"uloco/bluloco.nvim",
|
||||||
|
lazy = false,
|
||||||
|
dependencies = { "rktjmp/lush.nvim" },
|
||||||
|
enabled = H.theme_contains("Bluloco"),
|
||||||
|
}
|
||||||
|
|
||||||
|
function M.config()
|
||||||
|
local bluloco = require("bluloco")
|
||||||
|
|
||||||
|
bluloco.setup({
|
||||||
|
transparent = T.transparency.enable,
|
||||||
|
style = H.variant("Bluloco"),
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.cmd("colorscheme bluloco")
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
|
@ -1,4 +1,5 @@
|
||||||
local H = require("my.plugins.themes.helpers")
|
local H = require("my.plugins.themes.helpers")
|
||||||
|
local T = require("nix.theme")
|
||||||
|
|
||||||
local M = {
|
local M = {
|
||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
|
@ -12,7 +13,7 @@ function M.config()
|
||||||
vim.g.catppuccin_flavour = H.variant("Catppuccin")
|
vim.g.catppuccin_flavour = H.variant("Catppuccin")
|
||||||
|
|
||||||
catppuccin.setup({
|
catppuccin.setup({
|
||||||
transparent_background = true,
|
transparent_background = T.transparency.enable,
|
||||||
integrations = { nvimtree = true, telescope = true },
|
integrations = { nvimtree = true, telescope = true },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -20,6 +21,10 @@ function M.config()
|
||||||
vim.cmd([[highlight NotifyINFOTitle guifg=#d6b20f]])
|
vim.cmd([[highlight NotifyINFOTitle guifg=#d6b20f]])
|
||||||
|
|
||||||
vim.cmd("colorscheme catppuccin")
|
vim.cmd("colorscheme catppuccin")
|
||||||
|
|
||||||
|
if T.transparency.enable then
|
||||||
|
vim.cmd([[highlight FloatBorder blend=0]])
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
return {
|
return {
|
||||||
require("my.plugins.themes.catppuccin"),
|
require("my.plugins.themes.catppuccin"),
|
||||||
require("my.plugins.themes.rosepine"),
|
require("my.plugins.themes.rosepine"),
|
||||||
|
require("my.plugins.themes.bluloco"),
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,19 +2,19 @@
|
||||||
lib.fix (self: {
|
lib.fix (self: {
|
||||||
"Catppuccin Mocha" = fetchurl {
|
"Catppuccin Mocha" = fetchurl {
|
||||||
url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css";
|
url = "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css";
|
||||||
sha256 = "0nv36q310mbm0p5v8anvz98bq68p9m3969rlp464m3mqkj8aszg2";
|
sha256 = "1zw1vmksn4hi0mr5w9k23l18agvkis0fih69yjsm7x4a2dqfq35h";
|
||||||
};
|
};
|
||||||
"Catppuccin Frappe" = fetchurl {
|
"Catppuccin Frappe" = fetchurl {
|
||||||
url = "https://catppuccin.github.io/discord/dist/catppuccin-frappe.theme.css";
|
url = "https://catppuccin.github.io/discord/dist/catppuccin-frappe.theme.css";
|
||||||
sha256 = "1d55rxp5z0c4m0g6qn6y28mrps7psfgvag1yf0h2ac3znmmyjrqk";
|
sha256 = "1x94q0k3f3mclkx6hibyjnl8fgjz39snbr8sqm5kjkyavv6hbhif";
|
||||||
};
|
};
|
||||||
"Catppuccin Latte" = fetchurl {
|
"Catppuccin Latte" = fetchurl {
|
||||||
url = "https://catppuccin.github.io/discord/dist/catppuccin-latte.theme.css";
|
url = "https://catppuccin.github.io/discord/dist/catppuccin-latte.theme.css";
|
||||||
sha256 = "1m0vjq3bj62rm9n5cabpqhghxyaj1676q9k83z7dabsqq3d4blpv";
|
sha256 = "0884c2yf0rq5rrx4hl42f6kb6kjn1mz6122sf9qzl7lqkgm1d808";
|
||||||
};
|
};
|
||||||
"Catppuccin Macchiato" = fetchurl {
|
"Catppuccin Macchiato" = fetchurl {
|
||||||
url = "https://catppuccin.github.io/discord/dist/catppuccin-macchiato.theme.css";
|
url = "https://catppuccin.github.io/discord/dist/catppuccin-macchiato.theme.css";
|
||||||
sha256 = "1wnphnzgv90r5zgxrr5w36pm1wa5qmkyb72gylj4j1wrk3h7vfvc";
|
sha256 = "1525shpzslnjxp1yqm98zpicrypy7zh79hi2pr85qcqcfn05v9gh";
|
||||||
};
|
};
|
||||||
default.dark = self."Catppuccin Macchiato";
|
default.dark = self."Catppuccin Macchiato";
|
||||||
default.light = self."Catppuccin Latte";
|
default.light = self."Catppuccin Latte";
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
{ inputs, pkgs, config, ... }:
|
{ inputs, pkgs, config, lib, ... }:
|
||||||
let
|
let
|
||||||
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
||||||
themeMap = {
|
themeMap = lib.fix (self: {
|
||||||
# TODO: add rosepine themes here
|
|
||||||
"Catppuccin Mocha" = spicePkgs.themes.catppuccin-mocha;
|
"Catppuccin Mocha" = spicePkgs.themes.catppuccin-mocha;
|
||||||
"Catppuccin Latte" = spicePkgs.themes.catppuccin-latte;
|
"Catppuccin Latte" = spicePkgs.themes.catppuccin-latte;
|
||||||
"Catppuccin Frappe" = spicePkgs.themes.catppuccin-frappe;
|
"Catppuccin Frappe" = spicePkgs.themes.catppuccin-frappe;
|
||||||
"Catppuccin Macchiato" = spicePkgs.themes.catppuccin-macchiato;
|
"Catppuccin Macchiato" = spicePkgs.themes.catppuccin-macchiato;
|
||||||
|
|
||||||
default.light = spicePkgs.themes.catppuccin-mocha;
|
default.light = self."Catppuccin Latte";
|
||||||
default.dark = spicePkgs.themes.catppuccin-latte;
|
default.dark = self."Catppuccin Macchiato";
|
||||||
};
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.spicetify = {
|
programs.spicetify = {
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
"Sailhorse".psk = "@NL_PLACE_0_PASS@";
|
"Sailhorse".psk = "@NL_PLACE_0_PASS@";
|
||||||
"InfoEdu12".psk = "@INFOEDU_PASS@";
|
"InfoEdu12".psk = "@INFOEDU_PASS@";
|
||||||
|
"ZTE_F7A321".psk = "@MADALINA_PASS@";
|
||||||
|
|
||||||
# [Working solution](https://bbs.archlinux.org/viewtopic.php?id=271336)
|
# [Working solution](https://bbs.archlinux.org/viewtopic.php?id=271336)
|
||||||
# [Other interesting link](https://help.itc.rwth-aachen.de/en/service/b3d9a2c8ae5345b8b8f5128143ef4e3c/article/eaf6d69389a74a5a839c1f383c508df7/)
|
# [Other interesting link](https://help.itc.rwth-aachen.de/en/service/b3d9a2c8ae5345b8b8f5128143ef4e3c/article/eaf6d69389a74a5a839c1f383c508df7/)
|
||||||
|
|
Binary file not shown.
|
@ -28,6 +28,7 @@
|
||||||
# {{{ A few ad-hoc hardware settings
|
# {{{ A few ad-hoc hardware settings
|
||||||
hardware.opengl.enable = true;
|
hardware.opengl.enable = true;
|
||||||
hardware.opentabletdriver.enable = true;
|
hardware.opentabletdriver.enable = true;
|
||||||
|
hardware.keyboard.qmk.enable = true;
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ A few ad-hoc programs
|
# {{{ A few ad-hoc programs
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
@ -46,6 +47,4 @@
|
||||||
in
|
in
|
||||||
blacklist;
|
blacklist;
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,6 +29,14 @@
|
||||||
fonts = {
|
fonts = {
|
||||||
normal = "${config.stylix.fonts.sansSerif.name}",
|
normal = "${config.stylix.fonts.sansSerif.name}",
|
||||||
monospace = "${config.stylix.fonts.monospace.name}"
|
monospace = "${config.stylix.fonts.monospace.name}"
|
||||||
|
},
|
||||||
|
transparency = {
|
||||||
|
enable = ${toString config.satellite.theming.transparency.enable} == 1,
|
||||||
|
value = ${toString config.satellite.theming.transparency.alpha},
|
||||||
|
},
|
||||||
|
rounding = {
|
||||||
|
enable = ${toString config.satellite.theming.rounding.enable} == 1,
|
||||||
|
radius = ${toString config.satellite.theming.rounding.radius},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -6,7 +6,7 @@ in
|
||||||
options.satellite.theming = {
|
options.satellite.theming = {
|
||||||
transparency = {
|
transparency = {
|
||||||
enable = lib.mkEnableOption "transparency for desktop apps";
|
enable = lib.mkEnableOption "transparency for desktop apps";
|
||||||
value = lib.mkOption {
|
alpha = lib.mkOption {
|
||||||
description = "How transparent windows should be by default";
|
description = "How transparent windows should be by default";
|
||||||
default = 1.0;
|
default = 1.0;
|
||||||
example = 0.6;
|
example = 0.6;
|
||||||
|
@ -18,7 +18,7 @@ in
|
||||||
enable = lib.mkEnableOption "rounded corners for desktop apps";
|
enable = lib.mkEnableOption "rounded corners for desktop apps";
|
||||||
radius = lib.mkOption {
|
radius = lib.mkOption {
|
||||||
description = "How much to round corners by deafault";
|
description = "How much to round corners by deafault";
|
||||||
default = 0;
|
default = 0.0;
|
||||||
example = 10;
|
example = 10;
|
||||||
type = lib.types.float;
|
type = lib.types.float;
|
||||||
};
|
};
|
||||||
|
@ -54,7 +54,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config.satellite.theming = {
|
config.satellite.theming = {
|
||||||
transparency.enable = cfg.transparency.value < 1.0;
|
transparency.enable = cfg.transparency.alpha < 1.0;
|
||||||
rounding.enable = cfg.rounding.radius > 0.0;
|
rounding.enable = cfg.rounding.radius > 0.0;
|
||||||
|
|
||||||
get = themeMap:
|
get = themeMap:
|
||||||
|
@ -69,6 +69,6 @@ in
|
||||||
config.lib.stylix.scheme."${color}-rgb-b"
|
config.lib.stylix.scheme."${color}-rgb-b"
|
||||||
];
|
];
|
||||||
|
|
||||||
colors.rgba = color: "${cfg.colors.rgb color},${toString cfg.transparency.value}";
|
colors.rgba = color: "${cfg.colors.rgb color},${toString cfg.transparency.alpha}";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue