From 6ae2d74fca6d84303283f0594a329db7c5738067 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 24 Jul 2018 12:48:53 +0200 Subject: [PATCH] xsession: add option `preferStatusNotifierItems` The intent is for tray applets to honor this option if they support the SNI protocol. --- modules/xsession.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/xsession.nix b/modules/xsession.nix index 3bce45065..816a1aa9f 100644 --- a/modules/xsession.nix +++ b/modules/xsession.nix @@ -30,6 +30,17 @@ in ''; }; + preferStatusNotifierItems = mkOption { + type = types.bool; + default = false; + example = true; + description = '' + Whether tray applets should prefer using the Status Notifier + Items (SNI) protocol, commonly called App Indicators. Note, + not all tray applets or status bars support SNI. + ''; + }; + profileExtra = mkOption { type = types.lines; default = "";