diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-04-11 10:23:56 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-04-11 10:23:56 +0200 |
commit | 22acd4632390bf1231bc7e234fbb6361bbb61368 (patch) | |
tree | bc097ed9e5cfb9e03bdc0e6c5fef7dec5ee28a52 /pkgs | |
parent | 4f93ccb6c25d80a75a6324c341a8105502a783b9 (diff) | |
download | dots-22acd4632390bf1231bc7e234fbb6361bbb61368.tar.gz dots-22acd4632390bf1231bc7e234fbb6361bbb61368.zip |
Add signal wraper
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/dwm/config.h | 4 | ||||
-rw-r--r-- | pkgs/signal.nix | 10 |
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" + ''; +} |