Add whatsapp-for-linux back

This commit is contained in:
Evie Litherland-Smith 2025-02-10 06:30:06 +00:00
parent 35ea099325
commit deeeb5b7a5
2 changed files with 27 additions and 3 deletions

View file

@ -42,6 +42,7 @@
libreoffice libreoffice
webcord webcord
signal-desktop signal-desktop
whatsapp-for-linux
nomachine-client nomachine-client
]; ];
}; };
@ -220,9 +221,32 @@
figure.autolayout: True figure.autolayout: True
savefig.dpi: 300 savefig.dpi: 300
''; '';
# WhatsApp config
"whatsapp-for-linux/settings.conf" =
let
inherit (config.lib.stylix.scheme) variant;
in
{
force = true;
text = ''
[web]
allow-permissions=true
hw-accel=2
[general]
notification-sounds=true
close-to-tray=true
start-in-tray=true
[appearance]
prefer-dark-theme=${if variant == "dark" then "true" else "false"}
'';
};
# Autostart some programs # Autostart some programs
"autostart/signal-desktop.desktop".source = "autostart/signal-desktop.desktop".source =
"${pkgs.signal-desktop}/share/applications/signal-desktop.desktop"; "${pkgs.signal-desktop}/share/applications/signal-desktop.desktop";
"autostart/com.github.eneshecan.WhatsAppForLinux.desktop".source =
"${pkgs.whatsapp-for-linux}/share/applications/com.github.eneshecan.WhatsAppForLinux.desktop";
}; };
}; };
}; };

View file

@ -261,11 +261,11 @@
# Workspace rules # Workspace rules
"workspace 2, (firefox)" # Browser "workspace 2, (firefox)" # Browser
"workspace 3, (signal|WebCord|teams-for-linux|twinkle)" # Messaging "workspace 3, (WebCord|signal|whatsapp-for-linux|twinkle)" # Messaging
"workspace 4, (Zotero|libreoffice|soffice|org.musicbrainz.Picard)(.*)" # Files "workspace 4, (org.musicbrainz.Picard|libreoffice|soffice|Zotero)(.*)" # Files
"workspace 5, (Nxplayer.bin)" # Remote Desktop "workspace 5, (Nxplayer.bin)" # Remote Desktop
"workspace 6, (PrusaSlicer)" # 3D Printing "workspace 6, (PrusaSlicer)" # 3D Printing
"workspace 7, (steam_app|gamescope|steam|lutris|org.prismlauncher.PrismLauncher)" # Gaming "workspace 7, (gamescope|steam|steam_app|lutris|org.prismlauncher.PrismLauncher)" # Gaming
# PrismLauncher / Minecraft # PrismLauncher / Minecraft
"float, org.prismlauncher.PrismLauncher" "float, org.prismlauncher.PrismLauncher"