FrameworkNix/programs/sway/wofi.nix

54 lines
951 B
Nix
Raw Normal View History

2024-02-21 12:20:21 +00:00
{ config }:
let
config = import ../../theming/colorScheme.nix;
in
2024-02-19 23:19:01 +00:00
{
programs.wofi = {
enable = true;
settings = {
gtk_dark = true;
location = "left";
allow_markup = true;
width = 250;
};
style = ''
* {
font-family: monospace;
}
window {
2024-02-21 12:20:21 +00:00
background-color: ${config.colorScheme.palette.base00};
2024-02-19 23:19:01 +00:00
}
#input {
margin: 5px;
border: none;
2024-02-21 12:20:21 +00:00
color: ${config.colorScheme.palette.base09};
background-color: ${config.colorScheme.palette.base06};
2024-02-19 23:19:01 +00:00
}
#text {
margin: 5px;
border: none;
2024-02-21 12:20:21 +00:00
color: ${config.colorScheme.palette.base09};
2024-02-19 23:19:01 +00:00
}
#entry {
border: none;
}
#entry:focus {
border: none;
}
#entry:selected {
2024-02-21 12:20:21 +00:00
background-color: ${config.colorScheme.palette.base06};
2024-02-19 23:19:01 +00:00
border-radius: 5px;
border: none;
}
'';
};
}