From a9935b7a12a522937d91cb44a0e138132b555e16 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 00:48:11 -0500 Subject: Re-jigger to use systemd for the process monitor for the window manager --- .config/wmii-hg/autostart | 16 ---------------- .config/wmii-hg/config.sh | 3 --- .config/wmii-hg/rbar | 9 +++++++++ 3 files changed, 9 insertions(+), 19 deletions(-) delete mode 100755 .config/wmii-hg/autostart create mode 100755 .config/wmii-hg/rbar (limited to '.config/wmii-hg') diff --git a/.config/wmii-hg/autostart b/.config/wmii-hg/autostart deleted file mode 100755 index 156fe7d..0000000 --- a/.config/wmii-hg/autostart +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -. include.sh - -xrandr --output VGA-1 --off - -daemon xcompmgr &> /dev/null -daemon lxpanel &> /dev/null -#daemon nm-applet &> /dev/null -daemon dunst &> /dev/null -daemon blueman-applet &> /dev/null -daemon clipit -dn &> /dev/null - -PATH="$WMII_CONFPATH:$PATH" -daemon rbar_acpi 97_acpi &> /dev/null -daemon rbar_wifi 98_wifi &> /dev/null -daemon rbar_clock 99_clock &> /dev/null diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh index 888c3ae..98c41a6 100644 --- a/.config/wmii-hg/config.sh +++ b/.config/wmii-hg/config.sh @@ -49,9 +49,6 @@ Event() { Event FocusTag "$tag" fi done < <(lstags) - - # Run the autostart action - Action autostart ;; WmiircQuit) ## No args echo ' ==> Stopping wmiirc' diff --git a/.config/wmii-hg/rbar b/.config/wmii-hg/rbar new file mode 100755 index 0000000..9aaa485 --- /dev/null +++ b/.config/wmii-hg/rbar @@ -0,0 +1,9 @@ +#!/bin/bash +IFS=: +read -r name prefix DISPLAY <<<"$1" +export DISPLAY + +id=$1 +name=${id#[0-9][0-9]_} + +exec "$0"_"$name" "${id}" -- cgit v1.2.3-2-g168b