re-organize home-modules
This commit is contained in:
89
modules/home/wofi/config.nix
Normal file
89
modules/home/wofi/config.nix
Normal file
@@ -0,0 +1,89 @@
|
||||
{...}: {
|
||||
programs.wofi.settings = {
|
||||
location = "center";
|
||||
allow_images = true;
|
||||
allow_markup = true;
|
||||
key_expand = "Tab";
|
||||
key_up = "Ctrl-k";
|
||||
key_down = "Ctrl-j";
|
||||
key_left = "Ctrl-h";
|
||||
key_right = "Ctrl-l";
|
||||
insensitive = true;
|
||||
};
|
||||
|
||||
programs.wofi.style = ''
|
||||
#window {
|
||||
border-radius: 15px;
|
||||
border-color: #33ccff;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
border-radius: 15px;
|
||||
border-color: #33ccff;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background: transparent;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#input {
|
||||
margin: 5px;
|
||||
border-radius: 15px;
|
||||
border-color: #33ccff;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background: transparent;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#img {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
margin: 2px;
|
||||
padding: 10px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
#text {
|
||||
padding: 4px;
|
||||
color: white;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#entry {
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#entry:selected {
|
||||
border-radius: 15px;
|
||||
border-color: #33ccff;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#expander {
|
||||
border-radius: 15px;
|
||||
border-color: #33ccff;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background: transparent;
|
||||
}
|
||||
'';
|
||||
}
|
||||
6
modules/home/wofi/default.nix
Normal file
6
modules/home/wofi/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
./config.nix
|
||||
./wofi.nix
|
||||
];
|
||||
}
|
||||
3
modules/home/wofi/wofi.nix
Normal file
3
modules/home/wofi/wofi.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{...}: {
|
||||
programs.wofi.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user