Revert "Remove webcord, whatsapp-for-linux, teams-for-linux"

This reverts commit 64372f0f6b.
This commit is contained in:
Evie Litherland-Smith 2025-02-19 06:12:37 +00:00
parent 7d92bedbd0
commit 840f3fee0f
5 changed files with 54 additions and 12 deletions

View file

@ -90,9 +90,9 @@
"desc:${secondary},1920x1080@144,0x140,1.0,vrr,2"
];
workspace = [
"2, monitor:desc:${secondary}"
"4, monitor:desc:${primary}"
"6, monitor:desc:${primary}"
"3, monitor:desc:${secondary}"
"5, monitor:desc:${primary}"
"7, monitor:desc:${primary}"
];
};
};

View file

@ -41,7 +41,10 @@
zotero
evince
libreoffice
webcord
signal-desktop
whatsapp-for-linux
teams-for-linux
nomachine-client
];
};
@ -221,9 +224,43 @@
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"}
'';
};
"teams-for-linux/config.json" = {
force = true;
text = builtins.toJSON {
awayOnSystemIdle = true;
closeAppOnCross = false;
followSystemTheme = true;
notificationMethod = "electron";
optInTeamsV2 = true;
spellCheckerLanguages = [ "en_GB" ];
};
};
# 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";
};
};
};

View file

@ -260,10 +260,11 @@
# Workspace rules
"workspace 2, (firefox)" # Browser
"workspace 3, (org.musicbrainz.Picard|libreoffice|soffice|Zotero)(.*)" # Files
"workspace 4, (Nxplayer.bin)" # Remote Desktop
"workspace 5, (PrusaSlicer)" # 3D Printing
"workspace 6, (gamescope|steam|steam_app|lutris|org.prismlauncher.PrismLauncher)" # Gaming
"workspace 3, (WebCord|signal|whatsapp-for-linux|teams-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, (gamescope|steam|steam_app|lutris|org.prismlauncher.PrismLauncher)" # Gaming
# PrismLauncher / Minecraft
"float, org.prismlauncher.PrismLauncher"
@ -300,6 +301,8 @@
"float, title:Open,class:(libreoffice|soffice)(.*)"
# Steam
"workspace 3, title:Friends List,class:steam"
"workspace 7 silent, title:(notification)(.*),class:steam"
"float, title:Steam Settings,class:steam"
"size 800 600, title:Steam Settings,class:steam"
"center, title:Steam Settings,class:steam"

View file

@ -1,2 +1,2 @@
shopt -s extglob
rm -rf ~/.config/!(dconf|protonmail|Signal)
rm -rf ~/.config/!(dconf|protonmail|Signal|whatsapp-for-linux)

View file

@ -42,10 +42,11 @@
format-icons = {
"1" = "󰆍";
"2" = "󰖟";
"3" = "󱧶";
"4" = "󰢹";
"5" = "󰐫";
"6" = "󰊴";
"3" = "󰭹";
"4" = "󱧶";
"5" = "󰢹";
"6" = "󰐫";
"7" = "󰊴";
default = "󰀻";
};
all-outputs = false;
@ -56,6 +57,7 @@
"4" = [ ];
"5" = [ ];
"6" = [ ];
"7" = [ ];
};
};
mpris = {