summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-14 10:15:19 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-14 10:15:19 +0200
commit2b607331d1495e23d2bac08d81d07da8c3a1041a (patch)
treedddb1a2b9d890b39e1c3028ebe2e75f2456b3401
parentb52c5e810faf389afad81022f28c3feb4120c709 (diff)
downloadnixos-2b607331d1495e23d2bac08d81d07da8c3a1041a.tar
nixos-2b607331d1495e23d2bac08d81d07da8c3a1041a.tar.gz
nixos-2b607331d1495e23d2bac08d81d07da8c3a1041a.tar.bz2
nixos-2b607331d1495e23d2bac08d81d07da8c3a1041a.tar.xz
nixos-2b607331d1495e23d2bac08d81d07da8c3a1041a.zip
...
-rw-r--r--accounts/gkleen@sif/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix
index 9a22e83a..e1f6d9bb 100644
--- a/accounts/gkleen@sif/default.nix
+++ b/accounts/gkleen@sif/default.nix
@@ -98,7 +98,9 @@ let
98 lockCommand = pkgs.writeShellScript "gtklock" '' 98 lockCommand = pkgs.writeShellScript "gtklock" ''
99 set -x 99 set -x
100 100
101 export PATH="${lib.makeBinPath [cfg.programs.wpaperd.package pkgs.jq pkgs.coreutils pkgs.gtklock pkgs.imagemagick pkgs.findutils]}:$PATH" 101 export PATH="${lib.makeBinPath [cfg.programs.wpaperd.package pkgs.jq pkgs.coreutils pkgs.gtklock pkgs.imagemagick pkgs.findutils pkgs.dbus]}:$PATH"
102
103 dbus-send --session --dest=org.keepassxc.KeePassXC.MainWindow /keepassxc org.keepassxc.KeePassXC.MainWindow.lockAllDatabases
102 104
103 tmpDir=$(mktemp -d --tmpdir="$RUNTIME_DIRECTORY" "gtklock.$(date -uIs).XXXXXXXX") 105 tmpDir=$(mktemp -d --tmpdir="$RUNTIME_DIRECTORY" "gtklock.$(date -uIs).XXXXXXXX")
104 106