From 861eac8ccae2dba481e1caa41a77fbeee75e5283 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Sat, 2 Jan 2021 14:11:03 +0100 Subject: [PATCH] update status bar quicker after connection to wireless --- Makefile | 3 +++ configs/networkmanager/updatestatusbar.sh | 2 ++ 2 files changed, 5 insertions(+) create mode 100755 configs/networkmanager/updatestatusbar.sh diff --git a/Makefile b/Makefile index 7a01608..910185e 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,9 @@ install: $(PROGRAMS) install -D -m 0644 -t $(DESTDIR)$(PREFIX)/share/applications/ configs/xdg/mimeapps.list + mkdir -p $(PREFIX)/etc/NetworkManager/dispatcher.d + cp configs/networkmanager/updatestatusbar.sh $(PREFIX)/etc/NetworkManager/dispatcher.d/10-updatestatusbar.sh + # Bin install -D -t $(DESTDIR)$(PREFIX)/bin scripts/*/* diff --git a/configs/networkmanager/updatestatusbar.sh b/configs/networkmanager/updatestatusbar.sh new file mode 100755 index 0000000..88d8fb5 --- /dev/null +++ b/configs/networkmanager/updatestatusbar.sh @@ -0,0 +1,2 @@ +#!/bin/sh +sxmo_statusbarupdate.sh