Slack: Difference between revisions

Drop outdated comments
m Removed xdg.portal.gtkUsePortal option due to it no longer having any effect. (The feature was removed due to being unsupported and discouraged by GTK devs)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{tip/unfree}}
[https://slack.com/ Slack] is a communication platform with a desktop application based on Electron.
[https://slack.com/ Slack] is a communication platform with a desktop application based on Electron.


Line 4: Line 6:


=== NixOS ===
=== NixOS ===
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
environment.systemPackages = with pkgs; [ slack ];
environment.systemPackages = with pkgs; [ slack ];
</syntaxHighlight>
=== Non-NixOS ===
<syntaxHighlight lang="console">
$ nix-env -iA nixos.slack
</syntaxHighlight>
</syntaxHighlight>


Line 33: Line 28:
If you want to use screen-sharing, you'll have to enable <code>xdg-desktop-portal</code>, too:
If you want to use screen-sharing, you'll have to enable <code>xdg-desktop-portal</code>, too:


<syntaxHighlight lang="nix">
<syntaxhighlight lang="nix">
xdg = {
xdg = {
   portal = {
   portal = {
Line 41: Line 36:
       xdg-desktop-portal-gtk
       xdg-desktop-portal-gtk
     ];
     ];
    gtkUsePortal = true;
   };
   };
};
};
</syntaxHighlight>
</syntaxhighlight>


==== Window decorations ====
==== Window decorations ====
Line 52: Line 46:
WaylandWindowDecorations
WaylandWindowDecorations
</syntaxHighlight>
</syntaxHighlight>
[[Category:Applications]]