Skip to content

Commit

Permalink
chore: add wofi config
Browse files Browse the repository at this point in the history
  • Loading branch information
mobsenpai committed Apr 18, 2024
1 parent f459191 commit 4a87816
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions modules/home-manager/programs/wofi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,72 @@
config = lib.mkIf config.myhome.wofi.enable {
programs.wofi = {
enable = true;
settings = {
allow_images = true;
columns = 1;
height = "55%";
hide_scroll = true;
image_size = 30;
insensitive = true;
layer = "top";
location = "center";
orientation = "vertical";
prompt = "";
width = "25%";
};

style = with config.myhome.colorscheme.xcolors; ''
*{
all: unset;
font-family: JetBrainsMono Nerd Font;
font-size: 10pt;
font-weight: bold;
}
#window {
background: ${black};
border-radius: 8px;
border: 2px solid ${orange};
}
#input {
background: ${black};
color: ${brightwhite};
margin-bottom: 8px;
padding: 2px;
}
#input > image.left {
margin-right: 10px;
}
#outer-box {
padding: 15px;
}
#text {
color: ${brightwhite};
margin-left: 4px;
}
#text:selected {
color: ${darkbg};
}
#img {
background: transparent;
}
#entry {
border-radius: 8px;
margin: 2px;
padding: 4px;
}
#entry:selected {
background: ${brightorange};
}
'';
};
};
}

0 comments on commit 4a87816

Please sign in to comment.