summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-06-04 15:02:12 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-22 10:08:04 (EDT)
commitd8fa0acd86ea1c87cb04acd042fa4dd878af3d50 (patch)
tree41fbf15cd06486dbf5c22b7bf1267969a2312747
parent1966f574851aef1770ac9ce37b2c1921eaabd18b (diff)
downloadfluxbox-d8fa0acd86ea1c87cb04acd042fa4dd878af3d50.zip
fluxbox-d8fa0acd86ea1c87cb04acd042fa4dd878af3d50.tar.gz
fluxbox-d8fa0acd86ea1c87cb04acd042fa4dd878af3d50.tar.bz2
.fluxbox/startup.d/* New scripts
.fluxbox/startup.d/connman should be provided by a new connman dotfiles repository.
-rwxr-xr-x.fluxbox/startup.d/connman7
-rwxr-xr-x.fluxbox/startup.d/dunst5
-rwxr-xr-x.fluxbox/startup.d/panels9
-rwxr-xr-x.gitignore.d/fluxbox4
4 files changed, 25 insertions, 0 deletions
diff --git a/.fluxbox/startup.d/connman b/.fluxbox/startup.d/connman
new file mode 100755
index 0000000..3e95a18
--- /dev/null
+++ b/.fluxbox/startup.d/connman
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -eu
+
+[ -x /usr/bin/connman-gtk ] || exit 0
+
+connman-gtk --tray &
diff --git a/.fluxbox/startup.d/dunst b/.fluxbox/startup.d/dunst
new file mode 100755
index 0000000..0b07e9c
--- /dev/null
+++ b/.fluxbox/startup.d/dunst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -eu
+
+dunst &
diff --git a/.fluxbox/startup.d/panels b/.fluxbox/startup.d/panels
new file mode 100755
index 0000000..57a661e
--- /dev/null
+++ b/.fluxbox/startup.d/panels
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -eu
+
+while ! wmctrl -m 1>/dev/null 2>&1; do
+ sleep 1
+done
+
+fbpanel -p taskbar &
diff --git a/.gitignore.d/fluxbox b/.gitignore.d/fluxbox
index 106dc41..af532dd 100755
--- a/.gitignore.d/fluxbox
+++ b/.gitignore.d/fluxbox
@@ -11,6 +11,10 @@
!/.fluxbox/
!/.fluxbox/*
/.fluxbox/fbrun_history
+!/.fluxbox/startup.d/
+!/.fluxbox/startup.d/connman
+!/.fluxbox/startup.d/dunst
+!/.fluxbox/startup.d/panels
!/.xinitrc
!/.xsession
!/bin/