mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 18:24:34 +00:00
Add wofi launcher
This commit is contained in:
parent
e20e63e57b
commit
6a85f6b61b
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./wms
|
||||
./launchers
|
||||
];
|
||||
}
|
||||
|
|
9
home/programs/graphical/launchers/default.nix
Normal file
9
home/programs/graphical/launchers/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
imports = [
|
||||
#./anyrun
|
||||
#./rofi
|
||||
#./tofi
|
||||
#./walker
|
||||
./wofi
|
||||
];
|
||||
}
|
17
home/programs/graphical/launchers/wofi/default.nix
Normal file
17
home/programs/graphical/launchers/wofi/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
_: {
|
||||
programs.wofi = {
|
||||
enable = true;
|
||||
settings = {
|
||||
width = "40%";
|
||||
height = "30%";
|
||||
show = "drun";
|
||||
prompt = "Search";
|
||||
allow_images = true;
|
||||
allow_markup = true;
|
||||
insensitive = true;
|
||||
};
|
||||
style = ''
|
||||
${builtins.readFile ./style.css}
|
||||
'';
|
||||
};
|
||||
}
|
51
home/programs/graphical/launchers/wofi/style.css
Normal file
51
home/programs/graphical/launchers/wofi/style.css
Normal file
|
@ -0,0 +1,51 @@
|
|||
window {
|
||||
font-family: "DejaVu Sans", "Font Awesome 5 Free";
|
||||
margin: 0px;
|
||||
border: 1px solid rgba(0, 0, 0, 0.9);
|
||||
background-color: rgba(29, 31, 33, 0.95);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #f8f8f2;
|
||||
background-color: rgba(55, 59, 65, 0.95);
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 0px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#text {
|
||||
margin: 5px;
|
||||
border: none;
|
||||
color: #c5c8c6;
|
||||
}
|
||||
|
||||
#entry {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#entry:focus {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: rgba(55, 59, 65, 0.95);
|
||||
border-radius: 5px;
|
||||
border: none;
|
||||
}
|
Loading…
Reference in a new issue