Replace keeweb with keepassxc
This commit is contained in:
parent
53e7f4a74e
commit
a6a94aa259
|
@ -9,7 +9,7 @@
|
|||
./programs/email
|
||||
./programs/evince
|
||||
./programs/git
|
||||
./programs/keeweb
|
||||
./programs/keepassxc
|
||||
./programs/mpv
|
||||
./programs/open-port
|
||||
./programs/rapid-photo-downloader
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.programs.az-keepassxc;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
programs.az-keepassxc.enable = lib.mkEnableOption "Enable keepassxc.";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
keepassxc
|
||||
];
|
||||
systemd.user.services.keepassxc = {
|
||||
Unit = {
|
||||
Description = "Start keepassxc";
|
||||
After = [ "graphical-session-pre.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.keepassxc}/bin/keepassxc";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.programs.az-keeweb;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
programs.az-keeweb.enable = lib.mkEnableOption "Enable keeweb.";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
keeweb
|
||||
];
|
||||
|
||||
home.file.".config/qtile/autostart.d/keeweb.sh".source = ./keeweb.sh;
|
||||
};
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
echo "start keeweb"
|
||||
nohup keeweb --in-process-gpu > ~/.local/share/nohup.out &
|
|
@ -14,7 +14,7 @@ in
|
|||
az-emacs.enable = true;
|
||||
az-email.enable = true;
|
||||
az-evince.enable = true;
|
||||
az-keeweb.enable = true;
|
||||
az-keepassxc.enable = true;
|
||||
az-mpv.enable = true;
|
||||
az-open-port.enable = true;
|
||||
az-signal.enable = true;
|
||||
|
|
|
@ -88,7 +88,7 @@ group_matches = [
|
|||
None, # 4
|
||||
None, # 5
|
||||
[
|
||||
Match(wm_class="KeeWeb"),
|
||||
Match(wm_class="KeePassXC"),
|
||||
Match(wm_class="JDownloader"),
|
||||
Match(wm_class="Plexamp"),
|
||||
], # 6
|
||||
|
|
Loading…
Reference in New Issue