mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
74 lines
1.8 KiB
Nix
74 lines
1.8 KiB
Nix
{ config, pkgs, hyprpaper, ... }:
|
|
{
|
|
imports = [ ./waybar.nix ];
|
|
wayland.windowManager.hyprland.enable = true;
|
|
xdg.configFile."hypr/hyprland.conf".source = ./hyprland.conf;
|
|
xdg.configFile."hypr/hyprpaper.conf".text = ''
|
|
preload = ${../../../../images/wallpaper.png}
|
|
wallpaper =eDP-1, ${../../../../images/wallpaper.png}
|
|
wallpaper =HDMI-A-1, ${../../../../images/wallpaper.png}
|
|
'';
|
|
home.packages = with pkgs; [
|
|
wofi
|
|
font-awesome
|
|
hyprpaper.packages.x86_64-linux.default
|
|
];
|
|
|
|
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};
|
|
}
|
|
|
|
#entry {
|
|
background-color: #${config.colorScheme.colors.base00};
|
|
}
|
|
|
|
#entry:selected {
|
|
background-color: #${config.colorScheme.colors.base03};
|
|
}
|
|
|
|
'';
|
|
|
|
|
|
programs.mako = {
|
|
enable = true;
|
|
backgroundColor = "#${config.colorScheme.colors.base02}FF";
|
|
borderRadius = 20;
|
|
textColor = "#${config.colorScheme.colors.base05}FF";
|
|
layer = "overlay";
|
|
defaultTimeout = 10000;
|
|
extraConfig = ''
|
|
[urgency=high]
|
|
background-color=#${config.colorScheme.colors.base08}
|
|
default-timeout=0
|
|
'';
|
|
};
|
|
}
|