From 77fa51d869624ddb74b3e5fdda2ce99f7488e9e1 Mon Sep 17 00:00:00 2001 From: Brad Pitcher Date: Sun, 26 Nov 2017 13:41:00 -0500 Subject: [PATCH] add bluetooth indicator extension --- PKGBUILD.in | 2 +- extension.js.in | 2 +- extensions.csv | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/PKGBUILD.in b/PKGBUILD.in index d2f1c04..8eef661 100644 --- a/PKGBUILD.in +++ b/PKGBUILD.in @@ -2,7 +2,7 @@ # To only build some of the extensions, remove # the unwanted ones from the $extensions variable. -extensions=('brightness' 'volume' 'user' 'location') +extensions=('brightness' 'volume' 'user' 'location' 'bluetooth') pkgbase='$appname-git' for e in ${extensions[@]}; do local pkg=gnome-shell-extension-hide-$e-git diff --git a/extension.js.in b/extension.js.in index 7b3983c..5e1ba74 100644 --- a/extension.js.in +++ b/extension.js.in @@ -1,4 +1,4 @@ -const item = imports.ui.main.panel.statusArea.aggregateMenu.${item}.actor; +const item = imports.ui.main.panel.statusArea.aggregateMenu.${item}; let registration; diff --git a/extensions.csv b/extensions.csv index bcd1fed..5260f3f 100644 --- a/extensions.csv +++ b/extensions.csv @@ -1,5 +1,6 @@ name,author,item,description -Brightness Slider,xzs,_brightness._item,Hides the brightness slider from the aggregate menu -Location Options,xzs,_location._item,Hides the location options from the aggregate menu -User Switch,xzs,_system._switchUserSubMenu,"Hides the switch user sub menu from the aggregated menu, removing the logout option. Handy for a single-user system" -Volume Controls,xzs,_volume._volumeMenu,Hides the volume controls from the aggregate menu. The volume can still be adjusted via hardware keys +Brightness Slider,xzs,_brightness._item.actor,Hides the brightness slider from the aggregate menu +Location Options,xzs,_location._item.actor,Hides the location options from the aggregate menu +User Switch,xzs,_system._switchUserSubMenu.actor,"Hides the switch user sub menu from the aggregated menu, removing the logout option. Handy for a single-user system" +Volume Controls,xzs,_volume._volumeMenu.actor,Hides the volume controls from the aggregate menu. The volume can still be adjusted via hardware keys +Bluetooth Indicator,brad,_bluetooth._indicator,Hides the bluetooth indicator from the aggregate menu