blob: 9ccb4be8c6ecd98ab4d459f6b7e1a0e40c300055 (
plain) (
tree)
|
|
{ config, lib, pkgs, ... }:
let isEnabled = config.my.home.wm.windowManager == "sway";
in {
config = lib.mkIf isEnabled {
home.packages = with pkgs; [ wofi ];
xdg.configFile."wofi/config".text = ''
allow_images=true
image_size=20px
drun-display_generic=true
dynamic_lines=true
'';
xdg.configFile."wofi/style.css".text = ''
*{
font-family: monospace;
}
window {
color: #5E81AC;
background-color: rgba(27, 27, 28, 0.92);
border: 2px solid #75d5ff;
}
#input {
margin: 10px 0px;
border-radius: 0px;
border: none;
background: transparent;
color: white;
}
#inner-box {
background-color: transparent;
}
#outer-box {
margin: 0px;
padding:5px;
background-color: transparent;
}
#text {
padding: 5px;
color: white;
}
#entry:selected {
color: #75d5ff;
background-color: transparent;
border: 0px;
}
#text:selected {
color: #75d5ff;
background-color: transparent;
}
'';
};
}
|