Files
nix-config/modules/desktop-environments/hyprland/config/wofi/default.nix
2025-06-25 18:43:11 -05:00

97 lines
2.0 KiB
Nix
Executable File

{ pkgs, ... }:
let
theme = import ../../theme.nix { inherit pkgs; };
in
{
programs.wofi = {
enable = true;
style = ''
* {
font-family: "${theme.fontName}", monospace;
font-size: 14px;
}
/* Window */
window {
margin: 0px;
padding: 10px;
border: 0.16em solid ${theme.nord.aurora.nord15};
border-radius: 0.1em;
background-color: ${theme.nord.polarNight.nord0};
}
/* Inner Box */
#inner-box {
margin: 5px;
padding: 10px;
border: none;
background-color: ${theme.nord.polarNight.nord0};
}
/* Outer Box */
#outer-box {
margin: 5px;
padding: 10px;
border: none;
background-color: ${theme.nord.polarNight.nord0};
}
/* Scroll */
#scroll {
margin: 0px;
padding: 10px;
border: none;
background-color: ${theme.nord.polarNight.nord0};
}
/* Input */
#input {
margin: 5px 20px;
padding: 10px;
border: none;
border-radius: 0.1em;
color: ${theme.nord.snowStorm.nord6};
background-color: ${theme.nord.polarNight.nord0};
}
#input image {
border: none;
color: ${theme.nord.aurora.nord11};
}
#input * {
outline: 4px solid ${theme.nord.aurora.nord11}!important;
}
/* Text */
#text {
margin: 5px;
border: none;
color: ${theme.nord.snowStorm.nord6};
}
#entry {
background-color: ${theme.nord.polarNight.nord0};
}
#entry arrow {
border: none;
color: ${theme.nord.aurora.nord15};
}
/* Selected Entry */
#entry:selected {
border: 0.11em solid ${theme.nord.aurora.nord15};
}
#entry:selected #text {
color: ${theme.nord.frost.nord7};
}
#entry:drop(active) {
background-color: ${theme.nord.aurora.nord15}!important;
}
'';
};
}