2023-01-02 15:19:50 +00:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: let
|
2022-06-12 15:39:15 +00:00
|
|
|
theme = import ../../extra/theme.nix;
|
2023-01-01 13:15:47 +00:00
|
|
|
inherit (config.lib.formats.rasi) mkLiteral;
|
2023-01-01 13:38:29 +00:00
|
|
|
rasiColor = c: mkLiteral (theme.cssColor c);
|
2022-06-12 15:39:15 +00:00
|
|
|
in {
|
2023-01-06 09:28:49 +00:00
|
|
|
dconf.settings."org/gnome/desktop/interface" = {
|
|
|
|
gtk-theme = "Breeze-Dark";
|
|
|
|
icon-theme = "breeze-dark";
|
|
|
|
cursor-theme = "Vanilla-DMZ";
|
|
|
|
};
|
2022-05-11 18:54:49 +00:00
|
|
|
gtk = {
|
|
|
|
enable = true;
|
2023-01-06 09:28:49 +00:00
|
|
|
gtk2.extraConfig = ''
|
|
|
|
gtk-cursor-theme-name = "Vanilla-DMZ"
|
|
|
|
gtk-cursor-theme-size = 0
|
|
|
|
'';
|
|
|
|
gtk3.extraConfig = {
|
|
|
|
gtk-cursor-theme-name = "Vanilla-DMZ";
|
|
|
|
gtk-cursor-theme-size = 0;
|
2022-05-11 18:54:49 +00:00
|
|
|
};
|
|
|
|
font = {
|
2023-01-01 11:44:43 +00:00
|
|
|
package = pkgs.noto-fonts;
|
2022-05-11 18:54:49 +00:00
|
|
|
name = "Noto Sans";
|
|
|
|
size = 10;
|
|
|
|
};
|
|
|
|
iconTheme = {
|
2023-01-01 11:44:43 +00:00
|
|
|
package = pkgs.libsForQt5.breeze-icons;
|
2022-05-11 18:54:49 +00:00
|
|
|
name = "breeze-dark";
|
|
|
|
};
|
|
|
|
theme = {
|
2023-01-01 11:44:43 +00:00
|
|
|
package = pkgs.libsForQt5.breeze-gtk;
|
2022-05-11 18:54:49 +00:00
|
|
|
name = "Breeze-Dark";
|
|
|
|
};
|
|
|
|
};
|
2023-01-06 09:28:49 +00:00
|
|
|
qt = {
|
|
|
|
enable = true;
|
|
|
|
style = {
|
|
|
|
name = "Breeze";
|
|
|
|
package = pkgs.libsForQt5.breeze-qt5;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
home.file = {
|
|
|
|
".icons/default/index.theme".text = ''
|
|
|
|
[Icon Theme]
|
|
|
|
Name=Default
|
|
|
|
Comment=Default Cursor Theme
|
|
|
|
Inherits=Vanilla-DMZ
|
|
|
|
'';
|
|
|
|
};
|
2023-01-01 11:44:43 +00:00
|
|
|
# Taken from https://github.com/jakehamilton/dotfiles/blob/master/waybar/style.css
|
2022-06-10 13:42:53 +00:00
|
|
|
programs.waybar.style = with theme; ''
|
|
|
|
* {
|
|
|
|
border: none;
|
2023-01-01 11:44:43 +00:00
|
|
|
border-radius: 0;
|
|
|
|
font-size: 14px;
|
|
|
|
min-height: 24px;
|
2022-06-10 13:42:53 +00:00
|
|
|
font-family: "NotoSansDisplay Nerd Font", "Noto Sans Mono CJK JP";
|
2023-01-01 11:44:43 +00:00
|
|
|
color: ${cssColor base};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
window#waybar {
|
2023-01-01 14:39:50 +00:00
|
|
|
background: transparent;
|
2023-01-01 11:44:43 +00:00
|
|
|
opacity: 0.9;
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
window#waybar.hidden {
|
|
|
|
opacity: 0.2;
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#window {
|
|
|
|
margin-top: 8px;
|
|
|
|
padding: 0px 16px 0px 16px;
|
|
|
|
border-radius: 24px;
|
|
|
|
transition: none;
|
|
|
|
background: transparent;
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#workspaces {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 12px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
background: ${cssColor surface0};
|
|
|
|
transition: none;
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#workspaces button {
|
|
|
|
transition: none;
|
|
|
|
background: transparent;
|
|
|
|
font-size: 16px;
|
|
|
|
color: ${cssColor text};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#workspaces button.focused {
|
|
|
|
background: ${cssColor mauve};
|
|
|
|
color: ${cssColor base};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#workspaces button:hover {
|
|
|
|
background: ${cssColor sapphire};
|
|
|
|
color: ${cssColor base};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#mpd {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
background: ${cssColor green};
|
|
|
|
transition: none;
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#mpd.disconnected,
|
|
|
|
#mpd.stopped {
|
|
|
|
background: ${cssColor red};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#network {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
transition: none;
|
|
|
|
background: ${cssColor mauve};
|
|
|
|
}
|
|
|
|
|
|
|
|
#pulseaudio {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
transition: none;
|
|
|
|
background: ${cssColor teal};
|
|
|
|
}
|
|
|
|
|
|
|
|
#temperature, #battery {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
transition: none;
|
|
|
|
background: ${cssColor green};
|
|
|
|
}
|
|
|
|
|
|
|
|
#cpu, #backlight, #battery.warning {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
transition: none;
|
|
|
|
background: ${cssColor yellow};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
|
|
|
|
2023-01-01 11:44:43 +00:00
|
|
|
#memory, #battery.critical {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 24px;
|
|
|
|
transition: none;
|
|
|
|
background: ${cssColor red};
|
2022-06-10 13:42:53 +00:00
|
|
|
}
|
2023-01-01 11:44:43 +00:00
|
|
|
|
|
|
|
#clock {
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-left: 8px;
|
|
|
|
margin-right: 12px;
|
|
|
|
padding-left: 16px;
|
|
|
|
padding-right: 16px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-radius: 26px;
|
|
|
|
transition: none;
|
|
|
|
background: ${cssColor surface0};
|
|
|
|
color: ${cssColor text};
|
|
|
|
}
|
2023-01-01 11:49:51 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
wayland.windowManager.sway.extraConfig = with theme; ''
|
|
|
|
# target title bg text indicator border
|
|
|
|
client.focused ${cssColor pink} ${cssColor base} ${cssColor text} ${cssColor rosewater} ${cssColor pink}
|
|
|
|
client.focused_inactive ${cssColor mauve} ${cssColor base} ${cssColor text} ${cssColor rosewater} ${cssColor mauve}
|
|
|
|
client.unfocused ${cssColor mauve} ${cssColor base} ${cssColor text} ${cssColor rosewater} ${cssColor mauve}
|
|
|
|
client.urgent ${cssColor peach} ${cssColor base} ${cssColor peach} ${cssColor overlay0} ${cssColor peach}
|
|
|
|
client.placeholder ${cssColor overlay0} ${cssColor base} ${cssColor text} ${cssColor overlay0} ${cssColor overlay0}
|
|
|
|
client.background ${cssColor base}
|
2023-01-05 18:06:28 +00:00
|
|
|
seat seat0 xcursor_theme breeze-dark 24
|
2022-06-10 13:42:53 +00:00
|
|
|
'';
|
2023-04-05 07:56:35 +00:00
|
|
|
home.packages = with pkgs; [libsForQt5.breeze-icons libsForQt5.qt5ct vanilla-dmz];
|
2023-01-01 11:44:43 +00:00
|
|
|
|
|
|
|
programs.foot.settings.colors = with theme; {
|
|
|
|
alpha = 0.9;
|
|
|
|
background = base;
|
|
|
|
foreground = text;
|
|
|
|
regular0 = surface1;
|
|
|
|
regular1 = red;
|
|
|
|
regular2 = green;
|
|
|
|
regular3 = yellow;
|
|
|
|
regular4 = blue;
|
|
|
|
regular5 = pink;
|
|
|
|
regular6 = teal;
|
|
|
|
regular7 = subtext1;
|
|
|
|
bright0 = surface2;
|
|
|
|
bright1 = red;
|
|
|
|
bright2 = green;
|
|
|
|
bright3 = yellow;
|
|
|
|
bright4 = blue;
|
|
|
|
bright5 = pink;
|
|
|
|
bright6 = teal;
|
|
|
|
bright7 = subtext0;
|
|
|
|
};
|
2023-01-01 13:15:47 +00:00
|
|
|
|
2023-01-01 13:28:25 +00:00
|
|
|
programs.rofi.theme = with theme; let
|
|
|
|
element = {
|
2023-01-01 13:15:47 +00:00
|
|
|
background-color = mkLiteral "inherit";
|
|
|
|
text-color = mkLiteral "inherit";
|
2023-01-01 13:28:25 +00:00
|
|
|
};
|
|
|
|
in {
|
2023-01-01 13:15:47 +00:00
|
|
|
"*" = {
|
|
|
|
bg-col = rasiColor base;
|
|
|
|
bg-col-light = rasiColor base;
|
|
|
|
border-col = rasiColor base;
|
|
|
|
selected-col = rasiColor base;
|
|
|
|
blue = rasiColor blue;
|
|
|
|
fg-col = rasiColor text;
|
|
|
|
fg-col2 = rasiColor red;
|
|
|
|
grey = rasiColor overlay0;
|
|
|
|
width = 600;
|
|
|
|
};
|
|
|
|
element-text = element;
|
|
|
|
window = {
|
|
|
|
height = mkLiteral "360px";
|
|
|
|
border = mkLiteral "3px";
|
|
|
|
border-color = mkLiteral "@border-col";
|
|
|
|
background-color = mkLiteral "@bg-col";
|
2023-01-01 13:38:29 +00:00
|
|
|
opacity = mkLiteral "0.9";
|
2023-01-01 13:15:47 +00:00
|
|
|
};
|
|
|
|
mainbox = {
|
|
|
|
background-color = mkLiteral "@bg-col";
|
|
|
|
};
|
|
|
|
inputbar = {
|
|
|
|
children = map mkLiteral ["prompt" "entry"];
|
|
|
|
background-color = mkLiteral "@bg-col";
|
|
|
|
border-radius = mkLiteral "5px";
|
|
|
|
padding = mkLiteral "2px";
|
|
|
|
};
|
|
|
|
prompt = {
|
|
|
|
background-color = mkLiteral "@blue";
|
|
|
|
padding = mkLiteral "6px";
|
|
|
|
text-color = mkLiteral "@bg-col";
|
|
|
|
border-radius = mkLiteral "3px";
|
|
|
|
margin = mkLiteral "20px 0px 0px 20px";
|
|
|
|
};
|
|
|
|
|
|
|
|
textbox-prompt-colon = {
|
|
|
|
expand = mkLiteral "false";
|
|
|
|
str = ":";
|
|
|
|
};
|
|
|
|
|
|
|
|
entry = {
|
|
|
|
padding = mkLiteral "6px";
|
|
|
|
margin = mkLiteral "20px 0px 0px 10px";
|
|
|
|
text-color = mkLiteral "@fg-col";
|
|
|
|
background-color = mkLiteral "@bg-col";
|
|
|
|
};
|
|
|
|
|
|
|
|
listview = {
|
|
|
|
border = mkLiteral "0px 0px 0px";
|
|
|
|
padding = mkLiteral "6px 0px 0px";
|
|
|
|
margin = mkLiteral "10px 0px 0px 20px";
|
|
|
|
columns = 2;
|
|
|
|
lines = 5;
|
|
|
|
background-color = mkLiteral "@bg-col";
|
|
|
|
};
|
|
|
|
|
|
|
|
element = {
|
|
|
|
padding = mkLiteral "5px";
|
|
|
|
background-color = mkLiteral "@bg-col";
|
|
|
|
text-color = mkLiteral "@fg-col";
|
|
|
|
};
|
|
|
|
|
2023-01-02 15:19:50 +00:00
|
|
|
element-icon =
|
|
|
|
element
|
|
|
|
// {
|
|
|
|
size = mkLiteral "25px";
|
|
|
|
};
|
2023-01-01 13:15:47 +00:00
|
|
|
|
|
|
|
"element selected" = {
|
|
|
|
background-color = mkLiteral "@selected-col";
|
|
|
|
text-color = mkLiteral "@fg-col2";
|
|
|
|
};
|
|
|
|
|
2023-01-02 15:19:50 +00:00
|
|
|
mode-switcher =
|
|
|
|
element
|
|
|
|
// {
|
|
|
|
spacing = 0;
|
|
|
|
};
|
2023-01-01 13:15:47 +00:00
|
|
|
|
|
|
|
button = {
|
|
|
|
padding = mkLiteral "10px";
|
|
|
|
background-color = mkLiteral "@bg-col-light";
|
|
|
|
text-color = mkLiteral "@grey";
|
2023-01-01 13:38:29 +00:00
|
|
|
vertical-align = mkLiteral "0.5";
|
|
|
|
horizontal-align = mkLiteral "0.5";
|
2023-01-01 13:15:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
"button selected" = {
|
|
|
|
background-color = mkLiteral "@bg-col";
|
|
|
|
text-color = mkLiteral "@blue";
|
|
|
|
};
|
|
|
|
|
|
|
|
message = {
|
|
|
|
background-color = mkLiteral "@bg-col-light";
|
|
|
|
margin = mkLiteral "2px";
|
|
|
|
padding = mkLiteral "2px";
|
|
|
|
border-radius = mkLiteral "5px";
|
|
|
|
};
|
|
|
|
|
|
|
|
textbox = {
|
|
|
|
padding = mkLiteral "6px";
|
|
|
|
margin = mkLiteral "20px 0px 0px 20px";
|
|
|
|
text-color = mkLiteral "@blue";
|
|
|
|
background-color = mkLiteral "@bg-col-light";
|
|
|
|
};
|
|
|
|
};
|
2023-01-02 16:40:45 +00:00
|
|
|
programs.neomutt.extraConfig = ''
|
|
|
|
color normal default default # Text is "Text"
|
|
|
|
color index color2 default ~N # New Messages are Green
|
|
|
|
color index color1 default ~F # Flagged messages are Red
|
|
|
|
color index color13 default ~T # Tagged Messages are Red
|
|
|
|
color index color1 default ~D # Messages to delete are Red
|
|
|
|
color attachment color5 default # Attachments are Pink
|
|
|
|
color signature color8 default # Signatures are Surface 2
|
|
|
|
color search color4 default # Highlighted results are Blue
|
|
|
|
|
|
|
|
color indicator default color8 # currently highlighted message Surface 2=Background Text=Foreground
|
|
|
|
color error color1 default # error messages are Red
|
|
|
|
color status color15 default # status line "Subtext 0"
|
|
|
|
color tree color15 default # thread tree arrows Subtext 0
|
|
|
|
color tilde color15 default # blank line padding Subtext 0
|
|
|
|
|
|
|
|
color hdrdefault color13 default # default headers Pink
|
|
|
|
color header color13 default "^From:"
|
|
|
|
color header color13 default "^Subject:"
|
|
|
|
|
|
|
|
color quoted color15 default # Subtext 0
|
|
|
|
color quoted1 color7 default # Subtext 1
|
|
|
|
color quoted2 color8 default # Surface 2
|
|
|
|
color quoted3 color0 default # Surface 1
|
|
|
|
color quoted4 color0 default
|
|
|
|
color quoted5 color0 default
|
|
|
|
|
|
|
|
color body color2 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses Green
|
|
|
|
color body color2 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs Green
|
|
|
|
color body color4 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text Blue
|
|
|
|
color body color4 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text Blue
|
|
|
|
color body color4 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text Blue
|
|
|
|
|
|
|
|
color sidebar_flagged color1 default # Mailboxes with flagged mails are Red
|
|
|
|
color sidebar_new color10 default # Mailboxes with new mail are Green
|
|
|
|
'';
|
2023-01-03 15:09:39 +00:00
|
|
|
home.file.".local/share/mc/skins/catppuccin.ini".source = ../../extra/mc-catppuccin.ini;
|
2022-01-18 14:11:43 +00:00
|
|
|
}
|