2023-10-11 21:34:17 -04:00
|
|
|
{ config, pkgs, nixpkgs-wayland, ... }: let
|
|
|
|
waypkgs = nixpkgs-wayland.packages.x86_64-linux;
|
|
|
|
|
2023-10-03 09:48:12 -04:00
|
|
|
configDir = (import ../vars.nix).configDir;
|
2023-10-03 11:08:56 -04:00
|
|
|
symlink = config.lib.file.mkOutOfStoreSymlink;
|
2023-06-27 10:13:14 -04:00
|
|
|
in
|
|
|
|
{
|
2023-07-05 21:57:17 -04:00
|
|
|
xdg.configFile = {
|
2023-10-03 11:08:56 -04:00
|
|
|
"swayosd/style.css".source = symlink "${configDir}/swayosd/style.css";
|
2023-08-07 21:39:05 -04:00
|
|
|
|
2023-10-01 09:22:32 -04:00
|
|
|
"gtklock/config.ini".source = pkgs.writeText "config.ini" ''
|
2023-10-03 11:08:56 -04:00
|
|
|
[main]
|
|
|
|
modules=${builtins.concatStringsSep ";" [
|
|
|
|
"${pkgs.gtklock-powerbar-module}/lib/gtklock/powerbar-module.so"
|
|
|
|
"${pkgs.gtklock-playerctl-module}/lib/gtklock/playerctl-module.so"
|
|
|
|
]}
|
2023-10-01 09:22:32 -04:00
|
|
|
'';
|
2023-10-03 11:08:56 -04:00
|
|
|
"gtklock/style.css".source = symlink "${configDir}/gtklock/style.css";
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-10-03 11:08:56 -04:00
|
|
|
"discord/settings.json".source = symlink "${configDir}/discord/settings.json";
|
2023-09-13 14:11:03 -04:00
|
|
|
|
2023-10-03 11:08:56 -04:00
|
|
|
"dolphinrc".source = symlink "${configDir}/dolphinrc";
|
|
|
|
"kdeglobals".source = symlink "${configDir}/kdeglobals";
|
|
|
|
"kiorc".source = symlink "${configDir}/kiorc";
|
|
|
|
"mimeapps.list".source = symlink "${configDir}/mimeapps.list";
|
|
|
|
"neofetch".source = symlink "${configDir}/neofetch";
|
|
|
|
"swappy".source = symlink "${configDir}/swappy";
|
2023-07-05 21:57:17 -04:00
|
|
|
};
|
|
|
|
|
2023-06-27 17:19:28 -04:00
|
|
|
programs = {
|
|
|
|
|
2023-07-15 14:28:12 -04:00
|
|
|
wofi = {
|
|
|
|
enable = true;
|
2023-10-11 21:34:17 -04:00
|
|
|
package = waypkgs.wofi;
|
2023-07-15 14:28:12 -04:00
|
|
|
settings = {
|
|
|
|
prompt = "";
|
|
|
|
allow_images = true;
|
2023-10-11 23:36:23 -04:00
|
|
|
normal_window = true;
|
2023-07-15 14:28:12 -04:00
|
|
|
image_size = "48";
|
|
|
|
matching = "fuzzy";
|
|
|
|
insensitive = true;
|
2023-10-11 23:36:23 -04:00
|
|
|
no_actions = true;
|
2023-07-15 14:28:12 -04:00
|
|
|
};
|
2023-10-15 13:30:21 -04:00
|
|
|
style = builtins.readFile ../config/wofi/style.css;
|
2023-07-15 14:28:12 -04:00
|
|
|
};
|
|
|
|
|
2023-06-27 17:19:28 -04:00
|
|
|
alacritty = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
env = {
|
|
|
|
POKE = "true";
|
2023-06-27 10:13:14 -04:00
|
|
|
};
|
|
|
|
|
2023-06-27 17:19:28 -04:00
|
|
|
window = {
|
|
|
|
padding = {
|
|
|
|
x = 0;
|
|
|
|
y = 10;
|
|
|
|
};
|
2023-06-27 10:13:14 -04:00
|
|
|
|
2023-07-09 13:08:30 -04:00
|
|
|
opacity = 0.8;
|
2023-06-27 10:13:14 -04:00
|
|
|
};
|
2023-06-27 17:19:28 -04:00
|
|
|
|
2023-10-07 01:44:29 -04:00
|
|
|
font = {
|
|
|
|
normal = {
|
|
|
|
family = "JetBrainsMono Nerd Font";
|
|
|
|
style = "Regular";
|
|
|
|
};
|
|
|
|
bold = {
|
|
|
|
family = "JetBrainsMono Nerd Font";
|
|
|
|
style = "Bold";
|
|
|
|
};
|
|
|
|
italic = {
|
|
|
|
family = "JetBrainsMono Nerd Font";
|
|
|
|
style = "Italic";
|
|
|
|
};
|
|
|
|
size = 12.5;
|
|
|
|
};
|
|
|
|
|
2023-07-06 20:57:24 -04:00
|
|
|
# https://github.com/dracula/alacritty/blob/05faff15c0158712be87d200081633d9f4850a7d/dracula.yml
|
2023-06-27 17:19:28 -04:00
|
|
|
colors = {
|
|
|
|
primary = {
|
2023-07-06 20:57:24 -04:00
|
|
|
background = "#282a36";
|
|
|
|
foreground = "#f8f8f2";
|
|
|
|
bright_foreground = "#ffffff";
|
|
|
|
};
|
|
|
|
cursor = {
|
|
|
|
text = "CellBackground";
|
|
|
|
cursor = "CellForeground";
|
|
|
|
};
|
|
|
|
vi_mode_cursor = {
|
|
|
|
text = "CellBackground";
|
|
|
|
cursor = "CellForeground";
|
|
|
|
};
|
|
|
|
search = {
|
|
|
|
matches = {
|
|
|
|
foreground = "#44475a";
|
|
|
|
background = "#50fa7b";
|
|
|
|
};
|
|
|
|
focused_match = {
|
|
|
|
foreground = "#44475a";
|
|
|
|
background = "#ffb86c";
|
|
|
|
};
|
|
|
|
footer_bar = {
|
|
|
|
background = "#282a36";
|
|
|
|
foreground = "#f8f8f2";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
hints = {
|
|
|
|
start = {
|
|
|
|
foreground = "#282a36";
|
|
|
|
background = "#f1fa8c";
|
|
|
|
};
|
|
|
|
end = {
|
|
|
|
foreground = "#f1fa8c";
|
|
|
|
background = "#282a36";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
line_indicator = {
|
|
|
|
foreground = "None";
|
|
|
|
background = "None";
|
|
|
|
};
|
|
|
|
selection = {
|
|
|
|
text = "CellForeground";
|
|
|
|
background = "#44475a";
|
2023-06-27 17:19:28 -04:00
|
|
|
};
|
|
|
|
normal = {
|
2023-07-06 20:57:24 -04:00
|
|
|
black = "#21222c";
|
|
|
|
red = "#ff5555";
|
|
|
|
green = "#50fa7b";
|
|
|
|
yellow = "#f1fa8c";
|
|
|
|
blue = "#bd93f9";
|
|
|
|
magenta = "#ff79c6";
|
|
|
|
cyan = "#8be9fd";
|
|
|
|
white = "#f8f8f2";
|
2023-06-27 17:19:28 -04:00
|
|
|
};
|
2023-06-27 10:13:14 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|