Add wofi
This commit is contained in:
parent
13cf73e576
commit
f5fe583f2d
4 changed files with 56 additions and 2 deletions
20
modules/user/modules/wofi/default.nix
Normal file
20
modules/user/modules/wofi/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, impurity, ... }: {
|
||||
programs.wofi = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
mode = "drun";
|
||||
style = "${impurity.link ./style.css}";
|
||||
term = "alacritty";
|
||||
prompt = "";
|
||||
|
||||
insensitive = true;
|
||||
allowImages = true;
|
||||
hideScroll = true;
|
||||
noActions = true;
|
||||
|
||||
width = 500;
|
||||
height = 450;
|
||||
};
|
||||
};
|
||||
}
|
30
modules/user/modules/wofi/style.css
Normal file
30
modules/user/modules/wofi/style.css
Normal file
|
@ -0,0 +1,30 @@
|
|||
#window {
|
||||
background-color: rgba(0x20,0x25,0x30,0.55);
|
||||
border-radius: 10px;
|
||||
border: 2px solid rgba(0x40,0x40,0x50,0.70);
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#input {
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background-color: rgba(0,0,0,0.3);
|
||||
padding: 2px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
#entry {
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
#img {
|
||||
padding-right: 10px;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue