Compare commits
No commits in common. "5d5332df027abfcc566397423629b841f95af128" and "752d0a1ad184858b48c2fe109e019977ca5ea5cc" have entirely different histories.
5d5332df02
...
752d0a1ad1
|
@ -1,10 +1,110 @@
|
|||
{...}: {
|
||||
{pkgs, ...}: let
|
||||
catppuccin-mako = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "mako";
|
||||
rev = "9dd088aa5f4529a3dd4d9760415e340664cb86df";
|
||||
sha256 = "097x9jrkzvml6ngnhxwkzzl1l2awwv73yli1mhmpw83c0n8xck4x";
|
||||
};
|
||||
in {
|
||||
# TODO: split some stuff here
|
||||
|
||||
imports = [
|
||||
./eww
|
||||
./fuzzel
|
||||
./hyprland
|
||||
./mako
|
||||
./swayidle
|
||||
./swaylock
|
||||
./eww
|
||||
];
|
||||
|
||||
services.mako = {
|
||||
enable = true;
|
||||
defaultTimeout = 5000;
|
||||
extraConfig = builtins.readFile "${catppuccin-mako}/src/mocha";
|
||||
};
|
||||
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
line-height = 15;
|
||||
lines = 10;
|
||||
layer = "overlay";
|
||||
icon-theme = "Papirus-Dark";
|
||||
};
|
||||
colors = {
|
||||
background = "1E1E2EEE";
|
||||
text = "7F849CFF";
|
||||
match = "89B4FAFF";
|
||||
selection = "45475AFF";
|
||||
selection-text = "CDD6F4FF";
|
||||
selection-match = "89B4FAFF";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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 = {
|
||||
enable = true;
|
||||
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";
|
||||
|
||||
text-color = "CDD6F4";
|
||||
text-clear-color = "CDD6F4";
|
||||
text-caps-lock-color = "CDD6F4";
|
||||
text-ver-color = "CDD6F4";
|
||||
text-wrong-color = "CDD6F4";
|
||||
|
||||
inside-color = "1E1E2EEE";
|
||||
inside-clear-color = "1E1E2EEE";
|
||||
inside-caps-lock-color = "1E1E2EEE";
|
||||
inside-ver-color = "1E1E2EEE";
|
||||
inside-wrong-color = "1E1E2EEE";
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
programs.eww = {
|
||||
enable = true;
|
||||
package = pkgs.eww-wayland;
|
||||
configDir = ./config;
|
||||
configDir = ./.;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
{...}: {
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
line-height = 15;
|
||||
lines = 10;
|
||||
layer = "overlay";
|
||||
icon-theme = "Papirus-Dark";
|
||||
};
|
||||
colors = {
|
||||
background = "1E1E2EEE";
|
||||
text = "7F849CFF";
|
||||
match = "89B4FAFF";
|
||||
selection = "45475AFF";
|
||||
selection-text = "CDD6F4FF";
|
||||
selection-match = "89B4FAFF";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
{pkgs, ...}: let
|
||||
catppuccin-mako = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "mako";
|
||||
rev = "9dd088aa5f4529a3dd4d9760415e340664cb86df";
|
||||
sha256 = "097x9jrkzvml6ngnhxwkzzl1l2awwv73yli1mhmpw83c0n8xck4x";
|
||||
};
|
||||
in {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
defaultTimeout = 5000;
|
||||
extraConfig = builtins.readFile "${catppuccin-mako}/src/mocha";
|
||||
};
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,42 +0,0 @@
|
|||
{pkgs, ...}: {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
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";
|
||||
|
||||
text-color = "CDD6F4";
|
||||
text-clear-color = "CDD6F4";
|
||||
text-caps-lock-color = "CDD6F4";
|
||||
text-ver-color = "CDD6F4";
|
||||
text-wrong-color = "CDD6F4";
|
||||
|
||||
inside-color = "1E1E2EEE";
|
||||
inside-clear-color = "1E1E2EEE";
|
||||
inside-caps-lock-color = "1E1E2EEE";
|
||||
inside-ver-color = "1E1E2EEE";
|
||||
inside-wrong-color = "1E1E2EEE";
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue