about summary refs log tree commit diff
path: root/home/wm/wofi/default.nix
blob: f1e166394fedb5de483873f5ed6987957e1883ea (plain) (blame)
1
2
3
4
5
6
7
8
9
{ 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".source = ./config;
    xdg.configFile."wofi/style.css".source = ./style.css;
  };
}