about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/dwm/config.h4
-rw-r--r--pkgs/signal.nix10
2 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/dwm/config.h b/pkgs/dwm/config.h
index 7a8b085..bdb3507 100644
--- a/pkgs/dwm/config.h
+++ b/pkgs/dwm/config.h
@@ -54,12 +54,14 @@ static const Rule rules[] = {
 	 *	WM_NAME(STRING) = title
 	*/
 	/* class    instance      title       	 tags mask    iscentered	isfloating   isterminal  noswallow  monitor */
-	{ "Gimp",     NULL,       NULL,       	    1 << 8,       0,  		  0,           0,         0,        -1 },
+	/* { "Gimp",     NULL,       NULL,       	    1 << 8,       0,  		  0,           0,         0,        -1 }, */
+	{ "Pidgin",     NULL,       NULL,       	    1 << 8,       0,  		  0,           0,         0,        -1 },
 	{ TERMCLASS,   NULL,       NULL,       	    0,            0,  		  0,           1,         0,        -1 },
 	{ NULL,       NULL,       "Event Tester",   0,            0,  		  0,           0,         1,        -1 },
 	{ NULL,      "spterm",    NULL,       	    SPTAG(0),     0,  		  1,           1,         0,        -1 },
 	{ NULL,      "spcalc",    NULL,       	    SPTAG(1),     0,  		  1,           1,         0,        -1 },
   { NULL,      "telegram-desktop",  NULL,     0,            1,        1,           0,         0,        -1 },
+  { NULL,      "signal",  NULL,     0,            1,        1,           0,         0,        -1 },
 };
 
 /* layout(s) */
diff --git a/pkgs/signal.nix b/pkgs/signal.nix
new file mode 100644
index 0000000..3a45a60
--- /dev/null
+++ b/pkgs/signal.nix
@@ -0,0 +1,10 @@
+{ makeWrapper, symlinkJoin, signal-desktop }:
+symlinkJoin {
+  name = "signal-desktop";
+  paths = [ signal-desktop ];
+  buildInputs = [ makeWrapper ];
+  postBuild = ''
+    wrapProgram $out/bin/signal-desktop \
+      --add-flags "--use-tray-icon"
+  '';
+}