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: 15
Popularity: 0.64
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

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

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" \

bkmo commented on 2020-06-05 16:39

I edited my last comment to include that the tray icon is working correctly with version 8.0.7 installed from AUR. Dark theme is fine. I built it from makepkg and not from pamac. Rebuilding via pamac worked fine too. I had to install package unzip.

franciscocpg commented on 2020-06-05 16:13

Hi bkmo.

See this comment: https://aur.archlinux.org/packages/whatsapp-nativefier-dark/?O=20&PP=10#comment-734687

I haven't stopped to look at the issue I've mentioned there yet.

bkmo commented on 2020-06-05 15:22

I get the same behavior with a right or left click. Opens up menu> whatsapp-quit Also on KDE Manjaro distro.

Is there a reason you are locking the version of nativefier at 7.7.1? edit: I just built it with nativefier version 8.0.7 and the tray icon works correctly. Left click opens and closes the window.

franciscocpg commented on 2020-06-05 15:18

sispus

I see. I use EndeavourOS + Deepin WM and the behavior is fine. Not sure what's causing this issue on manjaro kde.

sispus commented on 2020-06-05 15:11

sorry :) yes, left click.

franciscocpg commented on 2020-06-05 14:59

sispus

About:

I still don't have proper "right click" behavior on tray icon. It shows the menu instead of raising/lowering the application window. on manjaro kde.

I think that is the proper behaviour, right? "right click" should shows the menu and "left click" raising/lowering the application window.

franciscocpg commented on 2020-06-05 14:58

bkmo

Nice to know. When this happens (toggle to switch light/dark mode) probably this package will be deprecated and we all should use https://aur.archlinux.org/packages/whatsapp-nativefier. Or maybe this package can be an alternative to the native whatsapp dark mode using stylus (as it was before the latest release).

sispus commented on 2020-06-05 14:24

Thank you, now the dark theme seems very well.

I still don't have proper "right click" behavior on tray icon. It shows the menu instead of raising/lowering the application window. on manjaro kde.

the non-dark nativefied one here is normal in this sense (but it doesn't show notifications): http://aur.archlinux.org/packages/whatsapp-nativefier

bkmo commented on 2020-06-05 13:41

Whatsapp is still beta testing/tweaking dark mode, but in the future they intend to add the toggle to the page. I just built your new release, and it is excellent this way, Thanks