From f22f65f173252d45ff1e1e7044e73ec36b5bcc2d Mon Sep 17 00:00:00 2001 From: Nydragon Date: Mon, 27 May 2024 21:10:27 +0900 Subject: [PATCH] protonmail: add bridge to autostart --- home/fish/default.nix | 4 ++-- home/sway/default.nix | 5 +++++ hosts/xps9510/configuration.nix | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/home/fish/default.nix b/home/fish/default.nix index 525a6ee..25cc054 100644 --- a/home/fish/default.nix +++ b/home/fish/default.nix @@ -1,10 +1,10 @@ -{ ... }: +{ pkgs, ... }: { programs.fish = { enable = true; shellAbbrs = { clip = "wl-copy"; - dp = "env --chdir ~/.dotfiles/ dotter deploy -v"; + dp = "env --chdir ~/.dotfiles/ ${pkgs.dotter}/bin/dotter deploy -v"; l = "eza -laa"; ls = "eza -la"; ll = "eza -l"; diff --git a/home/sway/default.nix b/home/sway/default.nix index 046cee7..154f0b1 100644 --- a/home/sway/default.nix +++ b/home/sway/default.nix @@ -130,6 +130,11 @@ [ -z "$(pidof kdeconnect-indicator)" ] && ${pkgs.kdeconnect}/bin/kdeconnect-indicator ''; } + { + command = '' + [ -z "$(pidof protonmail-bridge)" ] && ${pkgs.protonmail-bridge-gui}/bin/protonmail-bridge + ''; + } { command = "${set-background}/bin/set-background -f ${wallpaper}"; always = true; diff --git a/hosts/xps9510/configuration.nix b/hosts/xps9510/configuration.nix index a56029a..18337a8 100644 --- a/hosts/xps9510/configuration.nix +++ b/hosts/xps9510/configuration.nix @@ -205,7 +205,6 @@ in eza bat kdeconnect - dotter glib wireguard-tools dconf