Migrate more config to stylix
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
{pkgs, ...}: {
|
||||
gtk = rec {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Catppuccin";
|
||||
package = pkgs.catppuccin-gtk;
|
||||
};
|
||||
gtk4.theme = theme;
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
cursorTheme = {
|
||||
package = pkgs.apple-cursor;
|
||||
name = "macOS";
|
||||
size = 24;
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-gtk];
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
{config, ...}: let
|
||||
palette = config.lib.stylix.colors;
|
||||
in {
|
||||
{
|
||||
programs.hyprlock.enable = true;
|
||||
programs.hyprlock.settings = {
|
||||
general = {
|
||||
@@ -9,15 +7,6 @@ in {
|
||||
ignore_empty_input = true;
|
||||
};
|
||||
|
||||
background = [
|
||||
{
|
||||
color = "#${palette.base00}";
|
||||
# path = "screenshot";
|
||||
# blur_passes = 3;
|
||||
# blur_size = 8;
|
||||
}
|
||||
];
|
||||
|
||||
input-field = [
|
||||
{
|
||||
size = "200, 50";
|
||||
@@ -25,9 +14,6 @@ in {
|
||||
monitor = "";
|
||||
dots_center = true;
|
||||
fade_on_empty = false;
|
||||
font_color = "#${palette.base0B}";
|
||||
inner_color = "#${palette.base01}";
|
||||
outer_color = "#${palette.base05}";
|
||||
outline_thickness = 5;
|
||||
placeholder_text = "Password...";
|
||||
}
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config.colorscheme) colors;
|
||||
in {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
color = "000000";
|
||||
ignore-empty-password = true;
|
||||
indicator-idle-visible = false;
|
||||
};
|
||||
|
||||
@@ -1,33 +1,3 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
palette = config.lib.stylix.colors;
|
||||
in {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [wlogout];
|
||||
|
||||
# xdg.configFile."wlogout/style.css".text = ''
|
||||
# * {
|
||||
# all: unset;
|
||||
# font-family: JetBrains Mono Nerd Font;
|
||||
# }
|
||||
|
||||
# window {
|
||||
# background-color: #${palette.base00};
|
||||
# }
|
||||
|
||||
# button {
|
||||
# color: #${palette.base01};
|
||||
# font-size: 64px;
|
||||
# background-color: rgba(0,0,0,0);
|
||||
# outline-style: none;
|
||||
# margin: 5px;
|
||||
# }
|
||||
|
||||
# button:focus, button:active, button:hover {
|
||||
# color: #${palette.base0D};
|
||||
# transition: ease 0.4s;
|
||||
# }
|
||||
# '';
|
||||
}
|
||||
|
||||
@@ -1,80 +1,5 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
palette = config.lib.stylix.colors;
|
||||
in {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [wofi];
|
||||
|
||||
xdg.configFile."wofi/config".source = ./config;
|
||||
# xdg.configFile."wofi/style.css".text = ''
|
||||
# window {
|
||||
# margin: 5px;
|
||||
# border: 5px solid #181926;
|
||||
# background-color: #${palette.base00};
|
||||
# border-radius: 15px;
|
||||
# font-family: "JetBrainsMono";
|
||||
# font-size: 14px;
|
||||
# }
|
||||
|
||||
# #input {
|
||||
# all: unset;
|
||||
# min-height: 36px;
|
||||
# padding: 4px 10px;
|
||||
# margin: 4px;
|
||||
# border: none;
|
||||
# color: #${palette.base05};
|
||||
# font-weight: bold;
|
||||
# background-color: #${palette.base01};
|
||||
# outline: none;
|
||||
# border-radius: 15px;
|
||||
# margin: 10px;
|
||||
# margin-bottom: 2px;
|
||||
# }
|
||||
|
||||
# #inner-box {
|
||||
# margin: 4px;
|
||||
# padding: 10px;
|
||||
# font-weight: bold;
|
||||
# border-radius: 15px;
|
||||
# }
|
||||
|
||||
# #outer-box {
|
||||
# margin: 0px;
|
||||
# padding: 3px;
|
||||
# border: none;
|
||||
# border-radius: 15px;
|
||||
# border: 5px solid #${palette.base01};
|
||||
# }
|
||||
|
||||
# #scroll {
|
||||
# margin-top: 5px;
|
||||
# border: none;
|
||||
# border-radius: 15px;
|
||||
# margin-bottom: 5px;
|
||||
# }
|
||||
|
||||
# #text:selected {
|
||||
# color: #${palette.base01};
|
||||
# margin: 0px 0px;
|
||||
# border: none;
|
||||
# border-radius: 15px;
|
||||
# }
|
||||
|
||||
# #entry {
|
||||
# margin: 0px 0px;
|
||||
# border: none;
|
||||
# border-radius: 15px;
|
||||
# background-color: transparent;
|
||||
# }
|
||||
|
||||
# #entry:selected {
|
||||
# margin: 0px 0px;
|
||||
# border: none;
|
||||
# border-radius: 15px;
|
||||
# background: #${palette.base0D};
|
||||
# background-size: 400% 400%;
|
||||
# }
|
||||
# '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user