This commit is contained in:
outfoxxed 2023-06-25 18:29:27 -07:00
parent 13cf73e576
commit f5fe583f2d
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 56 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ system, inputs, config, lib, pkgs, ... }: let { system, inputs, config, lib, pkgs, impurity, ... }: let
username = "admin"; username = "admin";
homeDirectory = "/home/${username}"; homeDirectory = "/home/${username}";
in { in {
@ -59,7 +59,7 @@ in {
home-manager = { home-manager = {
extraSpecialArgs = { extraSpecialArgs = {
inherit system inputs; inherit system inputs impurity;
}; };
# use system nixpkgs instead of home-manager nixpkgs # use system nixpkgs instead of home-manager nixpkgs

View file

@ -2,6 +2,10 @@
home-manager.users.${config.main-user} = homeInputs: let home-manager.users.${config.main-user} = homeInputs: let
homeConfig = homeInputs.config; homeConfig = homeInputs.config;
in { in {
imports = [
./modules/wofi
];
home.packages = with pkgs; [ home.packages = with pkgs; [
ark ark
kwrite kwrite

View 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;
};
};
}

View 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;
}