2023-01-20 14:37:59 +01:00
|
|
|
{ config, pkgs, hyprpaper, ... }:
|
2023-01-20 10:46:28 +01:00
|
|
|
{
|
2023-01-20 21:43:16 +01:00
|
|
|
imports = [ ./waybar.nix ];
|
2023-01-20 10:46:28 +01:00
|
|
|
wayland.windowManager.hyprland.enable = true;
|
|
|
|
xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf;
|
2023-01-20 14:37:59 +01:00
|
|
|
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
|
|
|
preload = ${../../../../images/wallpaper.png}
|
2023-01-20 21:43:16 +01:00
|
|
|
wallpaper =eDP-1, ${../../../../images/wallpaper.png}
|
|
|
|
wallpaper =HDMI-A-1, ${../../../../images/wallpaper.png}
|
2023-01-20 14:37:59 +01:00
|
|
|
'';
|
2023-01-20 21:43:16 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
wofi
|
2023-01-21 14:44:23 +01:00
|
|
|
wl-clipboard
|
|
|
|
grim
|
|
|
|
slurp
|
2023-01-20 21:43:16 +01:00
|
|
|
font-awesome
|
2023-01-20 14:37:59 +01:00
|
|
|
hyprpaper.packages.x86_64-linux.default
|
2023-01-21 14:44:23 +01:00
|
|
|
#xdph.packages.x86_64-linux.default
|
2023-01-20 12:23:05 +01:00
|
|
|
];
|
|
|
|
|
2023-01-20 21:43:16 +01:00
|
|
|
xdg.configFile."wofi/config".text = ''
|
|
|
|
allow_images = true
|
|
|
|
term = alacritty
|
|
|
|
'';
|
|
|
|
|
|
|
|
xdg.configFile."wofi/style.css".text = ''
|
|
|
|
window {
|
|
|
|
margin: 0px;
|
|
|
|
border: 1px solid #${config.colorScheme.colors.base0D};
|
|
|
|
background-color: #${config.colorScheme.colors.base00};
|
|
|
|
}
|
|
|
|
|
|
|
|
#input {
|
|
|
|
margin: 5px;
|
|
|
|
border: none;
|
|
|
|
color: #${config.colorScheme.colors.base05};
|
|
|
|
background-color: #${config.colorScheme.colors.base02};
|
|
|
|
}
|
|
|
|
|
|
|
|
#inner-box,
|
|
|
|
#outer-box {
|
|
|
|
margin: 5px;
|
|
|
|
border: none;
|
|
|
|
background-color: #${config.colorScheme.colors.base00};
|
|
|
|
}
|
|
|
|
|
|
|
|
#text {
|
|
|
|
margin: 5px;
|
|
|
|
border: none;
|
|
|
|
color: #${config.colorScheme.colors.base05};
|
|
|
|
}
|
2023-01-21 12:55:13 +01:00
|
|
|
|
|
|
|
#entry {
|
|
|
|
background-color: #${config.colorScheme.colors.base00};
|
|
|
|
}
|
2023-01-20 21:43:16 +01:00
|
|
|
|
|
|
|
#entry:selected {
|
2023-01-21 12:55:13 +01:00
|
|
|
background-color: #${config.colorScheme.colors.base03};
|
2023-01-20 21:43:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
'';
|
|
|
|
|
2023-01-20 14:37:59 +01:00
|
|
|
|
|
|
|
programs.mako = {
|
|
|
|
enable = true;
|
2023-01-21 12:55:13 +01:00
|
|
|
backgroundColor = "#${config.colorScheme.colors.base02}FF";
|
|
|
|
borderRadius = 20;
|
2023-01-20 21:43:16 +01:00
|
|
|
textColor = "#${config.colorScheme.colors.base05}FF";
|
2023-01-21 12:55:13 +01:00
|
|
|
layer = "overlay";
|
|
|
|
defaultTimeout = 10000;
|
|
|
|
extraConfig = ''
|
|
|
|
[urgency=high]
|
|
|
|
background-color=#${config.colorScheme.colors.base08}
|
|
|
|
default-timeout=0
|
|
|
|
'';
|
2023-01-20 14:37:59 +01:00
|
|
|
};
|
2023-01-20 10:46:28 +01:00
|
|
|
}
|