feat(wofi): adapt css and config

This commit is contained in:
matt1432 2023-10-11 23:36:23 -04:00
parent f6b0c3c185
commit e299b9f3f2
3 changed files with 95 additions and 78 deletions
nixos/home

View file

@ -41,72 +41,13 @@ in
settings = {
prompt = "";
allow_images = true;
normal_window = true;
image_size = "48";
matching = "fuzzy";
insensitive = true;
normal_window = true;
height = "620";
no_actions = true;
};
style = ''
/* https://github.com/dracula/wofi/blob/master/style.css */
window {
margin: 0px;
border: 1px solid #bd93f9;
border-bottom: none;
border-radius: 30px;
background-color: #282a36;
}
#input {
margin: 5px;
border: none;
color: #f8f8f2;
background-color: #44475a;
}
#inner-box {
margin: 5px;
border: none;
background-color: #282a36;
}
#outer-box {
margin: 5px;
padding: 10px 10px 0px 10px;
border: none;
border-radius: 30px;
background-color: #282a36;
}
#scroll {
margin: -4px 0px -7px 0px;
border: none;
}
#text {
margin: 5px;
border: none;
color: #f8f8f2;
}
#entry.activatable #text {
color: #282a36;
}
#entry > * {
color: #f8f8f2;
padding: 4px 0px 0px 0px;
}
#entry:selected {
background-color: #44475a;
outline: none;
}
#entry:selected #text {
font-weight: bold;
}
'';
style = builtins.readFile ../../config/wofi/style.css;
};
alacritty = {