2023-12-15 15:18:36 +00:00
|
|
|
{pkgs, ...}: let
|
2023-04-10 12:57:41 +00:00
|
|
|
catppuccin-mako = pkgs.fetchFromGitHub {
|
|
|
|
owner = "catppuccin";
|
|
|
|
repo = "mako";
|
2023-08-16 16:12:45 +00:00
|
|
|
rev = "9dd088aa5f4529a3dd4d9760415e340664cb86df";
|
|
|
|
sha256 = "097x9jrkzvml6ngnhxwkzzl1l2awwv73yli1mhmpw83c0n8xck4x";
|
2023-04-10 12:57:41 +00:00
|
|
|
};
|
|
|
|
in {
|
2023-12-15 15:18:36 +00:00
|
|
|
# TODO: split some stuff here
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-12-15 15:18:36 +00:00
|
|
|
imports = [
|
|
|
|
./hyprland
|
|
|
|
./eww
|
|
|
|
];
|
2023-05-28 21:48:36 +00:00
|
|
|
|
2023-04-10 12:57:41 +00:00
|
|
|
services.mako = {
|
|
|
|
enable = true;
|
2023-04-23 18:24:15 +00:00
|
|
|
defaultTimeout = 5000;
|
2023-04-10 12:57:41 +00:00
|
|
|
extraConfig = builtins.readFile "${catppuccin-mako}/src/mocha";
|
|
|
|
};
|
2023-05-16 19:10:41 +00:00
|
|
|
|
2023-10-17 17:01:32 +00:00
|
|
|
programs.fuzzel = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
main = {
|
|
|
|
line-height = 15;
|
|
|
|
lines = 10;
|
2023-10-17 17:15:29 +00:00
|
|
|
layer = "overlay";
|
2023-10-17 18:32:33 +00:00
|
|
|
icon-theme = "Papirus-Dark";
|
2023-10-17 17:01:32 +00:00
|
|
|
};
|
|
|
|
colors = {
|
|
|
|
background = "1E1E2EEE";
|
|
|
|
text = "7F849CFF";
|
|
|
|
match = "89B4FAFF";
|
|
|
|
selection = "45475AFF";
|
|
|
|
selection-text = "CDD6F4FF";
|
|
|
|
selection-match = "89B4FAFF";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-10-16 18:22:54 +00:00
|
|
|
services.swayidle = {
|
|
|
|
enable = true;
|
|
|
|
systemdTarget = "hyprland-session.target";
|
|
|
|
events = [
|
|
|
|
{
|
|
|
|
event = "after-resume";
|
|
|
|
command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms on";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
event = "before-sleep";
|
|
|
|
command = "${pkgs.swaylock-effects}/bin/swaylock -f";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
timeouts = [
|
|
|
|
{
|
|
|
|
timeout = 120;
|
|
|
|
command = "${pkgs.swaylock-effects}/bin/swaylock -f --grace 3";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
timeout = 150;
|
|
|
|
command = "${pkgs.hyprland}/bin/hyprctl dispatch dpms off";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
timeout = 300;
|
|
|
|
command = "${pkgs.systemd}/bin/systemctl suspend";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.swaylock = {
|
2023-04-08 13:53:58 +00:00
|
|
|
enable = true;
|
2023-10-16 18:22:54 +00:00
|
|
|
package = pkgs.swaylock-effects;
|
|
|
|
settings = {
|
|
|
|
image = "/home/laurent/Pictures/wallpapers/kai-oberhauser-unsplash.jpg";
|
|
|
|
|
|
|
|
clock = true;
|
|
|
|
timestr = "%T";
|
|
|
|
datestr = "%F";
|
|
|
|
|
|
|
|
indicator = true;
|
|
|
|
indicator-radius = 100;
|
|
|
|
indicator-thickness = 7;
|
|
|
|
|
|
|
|
effect-blur = "7x5";
|
|
|
|
effect-vignette = "0.5:0.5";
|
|
|
|
|
2023-10-18 13:30:18 +00:00
|
|
|
text-color = "CDD6F4";
|
|
|
|
text-clear-color = "CDD6F4";
|
|
|
|
text-caps-lock-color = "CDD6F4";
|
|
|
|
text-ver-color = "CDD6F4";
|
|
|
|
text-wrong-color = "CDD6F4";
|
2023-10-16 18:22:54 +00:00
|
|
|
|
2023-10-18 13:30:18 +00:00
|
|
|
inside-color = "1E1E2EEE";
|
|
|
|
inside-clear-color = "1E1E2EEE";
|
|
|
|
inside-caps-lock-color = "1E1E2EEE";
|
|
|
|
inside-ver-color = "1E1E2EEE";
|
|
|
|
inside-wrong-color = "1E1E2EEE";
|
2023-10-16 18:22:54 +00:00
|
|
|
|
2023-10-18 13:30:18 +00:00
|
|
|
ring-color = "CBA6F7";
|
|
|
|
ring-clear-color = "FAB387";
|
|
|
|
ring-caps-lock-color = "F5C2E7";
|
|
|
|
ring-ver-color = "89B4Fa";
|
|
|
|
ring-wrong-color = "F38BA8";
|
|
|
|
|
|
|
|
key-hl-color = "A6E3A1";
|
|
|
|
bs-hl-color = "F38BA8";
|
2023-10-16 18:22:54 +00:00
|
|
|
};
|
2023-04-08 13:53:58 +00:00
|
|
|
};
|
|
|
|
}
|