Add whatsapp-for-linux back
This commit is contained in:
parent
35ea099325
commit
deeeb5b7a5
|
@ -42,6 +42,7 @@
|
|||
libreoffice
|
||||
webcord
|
||||
signal-desktop
|
||||
whatsapp-for-linux
|
||||
nomachine-client
|
||||
];
|
||||
};
|
||||
|
@ -220,9 +221,32 @@
|
|||
figure.autolayout: True
|
||||
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/signal-desktop.desktop".source =
|
||||
"${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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -261,11 +261,11 @@
|
|||
|
||||
# Workspace rules
|
||||
"workspace 2, (firefox)" # Browser
|
||||
"workspace 3, (signal|WebCord|teams-for-linux|twinkle)" # Messaging
|
||||
"workspace 4, (Zotero|libreoffice|soffice|org.musicbrainz.Picard)(.*)" # Files
|
||||
"workspace 3, (WebCord|signal|whatsapp-for-linux|twinkle)" # Messaging
|
||||
"workspace 4, (org.musicbrainz.Picard|libreoffice|soffice|Zotero)(.*)" # Files
|
||||
"workspace 5, (Nxplayer.bin)" # Remote Desktop
|
||||
"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
|
||||
"float, org.prismlauncher.PrismLauncher"
|
||||
|
|
Loading…
Reference in a new issue