summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2026-03-14 01:00:58 -0600
committerAlejandro Soto <alejandro@34project.org>2026-03-14 02:09:04 -0600
commitc466f96ee7d2c797268ee55eec66d11ac3f231e9 (patch)
tree104c9d5fb123d083e0c2f91cae74fe15a16ddbde /pkgs
parentd73def49bd0ae2f20fdde89774c1a117a586c0c0 (diff)
home/desktop: enable kdeconnectd, xfconnect-indicator
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix1
-rw-r--r--pkgs/xfconnect-indicator/default.nix45
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 8bd9e2c..cfc0dda 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -26,6 +26,7 @@ in {
tmux-lift = callPackage ./tmux-lift {};
tmux-open = callPackage ./tmux-open {};
tmux-pass = callPackage ./tmux-pass.nix {};
+ xfconnect-indicator = callPackage ./xfconnect-indicator {};
sysret-static = callPackage ./zola-static {
site = "sysret.org";
diff --git a/pkgs/xfconnect-indicator/default.nix b/pkgs/xfconnect-indicator/default.nix
new file mode 100644
index 0000000..f7f4262
--- /dev/null
+++ b/pkgs/xfconnect-indicator/default.nix
@@ -0,0 +1,45 @@
+{
+ fetchFromGitHub,
+ gobject-introspection,
+ gtk3,
+ lib,
+ libappindicator-gtk3,
+ python3,
+ stdenv,
+ wrapGAppsHook3,
+}:
+stdenv.mkDerivation {
+ pname = "xfconnect-indicator";
+ version = "0+master";
+
+ src = fetchFromGitHub {
+ repo = "xfconnect-indicator";
+ owner = "juanramoncastan";
+
+ rev = "3e7a372042d00cba39684809f846a1c4317980b7";
+ hash = "sha256-kLZQ1LTlxgtCbghpRjnCMjegUAJ2mn9NJ3toERKVSZM=";
+ };
+
+ buildInputs = [
+ gobject-introspection
+ gtk3
+ libappindicator-gtk3
+ (python3.withPackages (py: [py.dbus-python py.pygobject3]))
+ ];
+
+ nativeBuildInputs = [
+ wrapGAppsHook3
+ ];
+
+ buildPhase = ''
+ mkdir -p $out/bin
+ cp -r source/share $out
+ cp source/bin/xfconnect-indicator.py $out/bin/xfconnect-indicator
+ chmod +x $out/bin/xfconnect-indicator
+ '';
+
+ meta = {
+ license = lib.licenses.gpl3;
+ mainProgram = "xfconnect-indicator";
+ };
+}