Package Details: whatsapp-nativefier-dark 1.1.0-1

Git Clone URL: https://aur.archlinux.org/whatsapp-nativefier-dark.git (read-only, click to copy)
Package Base: whatsapp-nativefier-dark
Description: WhatsApp desktop built with nativefier (electron) using dark theme
Upstream URL: https://web.whatsapp.com
Keywords: whatsapp
Licenses: custom
Submitter: franciscocpg
Maintainer: franciscocpg
Last Packager: franciscocpg
Votes: 14
Popularity: 0.73
First Submitted: 2020-01-07 14:28
Last Updated: 2020-06-06 06:17

Pinned Comments

franciscocpg commented on 2020-07-08 14:24

bkmod

As I've mentioned in this comment it's time to deprecated this package then.

Now people can use https://aur.archlinux.org/packages/whatsapp-nativefier and just change the settings to use the dark theme.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

bkmo commented on 2020-07-08 16:39

Grx for all your work Franciso

franciscocpg commented on 2020-07-08 14:24

bkmod

As I've mentioned in this comment it's time to deprecated this package then.

Now people can use https://aur.archlinux.org/packages/whatsapp-nativefier and just change the settings to use the dark theme.

bkmo commented on 2020-07-03 16:42

As of yesterday WhatsApp web has added a Theme setting in settings. Kinda makes this redundant now. I am now running as a Web App in chromium and Firefox.

lucasrizzini commented on 2020-06-18 22:00

Does someone else having problems with it not detecting microphone?

bkmo commented on 2020-06-13 16:13

Just got a message from the Nativefier developer: Hi. I just released Nativefier v9.0.0, which includes the above-mentioned commit. Closing, feel free to re-open if the issue persists.

I just built it against nodejs-nativefier 9.0 and it broke the tray icon on KDE once again. Left click acts as right click again. This could be because it is now using Electron 9.0.4

Edit: It is definitely caused by moving to Electron 9.0.4
https://github.com/electron/electron/pull/23926 added to the 9.0.3 release

So building with buildflag --electron-version 9.0.2 fixes up the tray icon click behavior.

This is the PKGBUILD I used https://pastebin.com/G79CXhJk

je-vv commented on 2020-06-13 01:13

@franciscocpg, thanks for this package, I really like this dark, :)

BTW, perhaps you can consider changing the tray setting on "/opt/whatsapp-nativefier-dark/resources/app/nativefier.json" from true to "start-in-tray", that'd be great. Right now I'm editing it on every update.

franciscocpg commented on 2020-06-06 06:43

Nice guys.

I'll wait for a new nativefier release with this fix (done in https://github.com/jiahaog/nativefier/pull/955) and integrated it in this package.

bkmo commented on 2020-06-06 00:04

Confirming no popup notifications using nativefier 8.0.7. Changelog says this was fixed. Last working version 7.7.1 according to some. The fix that "sispus" outlines below is the cure for the notifications.

sudo sed -i "s/const newNotify =.*/const newNotify = function (title, opt) {/" /opt/whatsapp-nativefier-dark/resources/app/lib/preload.js

juxuanu commented on 2020-06-05 19:10

Works flawlessly now. Thank you very much. I'll keep an eye in case that you want to eventually deprecate this package and have a switch in the currently light-themed one. It would make sense to do so.

sispus commented on 2020-06-05 18:54

I edited pkgbuild files from pamac. I cancelled yarn and package.json from sources and relevant shas (using #), and built the package again. I also added nodejs-nativefier and unzip to dependencies (I don't know if it is really needed but follow the bkmo's comment below) Now it works with beautiful dark theme. Thank you.

edit: but now there is no popup notification for messages. its a nativefier problem. after build, doing sed -i "s/const newNotify =.*/const newNotify = function (title, opt) {/" YOUR_DIRECTORY/resources/app/lib/preload.js fixes it. https://github.com/jiahaog/nativefier/issues/956

(sorry I couldn't figrure out how to properly wrap code lines, but I just pasting the diff here:) diff --git a/PKGBUILD b/PKGBUILD index 3d87023..ee1da8a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,26 +9,26 @@ url="https://web.whatsapp.com" license=("custom") depends=("gtk3" "libxss" "nss") optdepends=("libindicator-gtk3") -makedepends=("imagemagick" "yarn") +makedepends=("imagemagick" "nodejs-nativefier" "unzip") source=( "${pkgname}.png" "${pkgname}.desktop" "${pkgname}-inject.js" - "package.json" - "yarn.lock") +# "package.json" +# "yarn.lock") sha256sums=( "f79228902c35740ba202fc74494b3fa851911e466955298b231d7fcfebc63b37" "12b72fd82fff48dc8c5a08f7bc070259b9929cf408bf6738133a08508e4d3d09" "c7c201732ce2c2b55fc496280b23a493feb2d7c8fd7b008d7d416d3906529829" - "6b214b951ff556fe2b87bb66bf8d3eb7b8ae7ed1dd0ceef0fa9d2c4ca86e0fff" - "77c85afca5dcea2a041a9461ead9700067556f95dc3702602c074260c4d3f047" +# "6b214b951ff556fe2b87bb66bf8d3eb7b8ae7ed1dd0ceef0fa9d2c4ca86e0fff" +# "77c85afca5dcea2a041a9461ead9700067556f95dc3702602c074260c4d3f047" ) iconsha256sum=${sha256sums[0]} tmpdesktopfile="/tmp/whatsapp-nativefier-dark.desktop"

build() { cd "${srcdir}" - yarn && yarn nativefier \ + nativefier \ --name "WhatsApp" \ --icon "${pkgname}.png" \ --width "800px" \