From 805f2de24a5da42318744e5786b3c6842bdd0276 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Sun, 1 Dec 2013 11:30:08 +0100 Subject: [PATCH] Fix indentation in example display manager session --- contrib/lightdm/bspwm-session | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/contrib/lightdm/bspwm-session b/contrib/lightdm/bspwm-session index 2df3501..0e0b5ff 100755 --- a/contrib/lightdm/bspwm-session +++ b/contrib/lightdm/bspwm-session @@ -38,20 +38,20 @@ export BSPWM_SOCKET=${state_path}/bspwm-socket # Trap: make sure everything started in ~/.config/bspwm/autostart is # signalled when this script exits or dies. Also clean up $state_path. function on_exit { -for child in $(jobs -p); do - jobs -p | grep -q $child && kill $child -done -# Extra paranoia -[[ -d "${state_path}" && -w "${state_path}" ]] && rm -rf -- "${state_path}" + for child in $(jobs -p); do + jobs -p | grep -q $child && kill $child + done + # Extra paranoia + [[ -d "${state_path}" && -w "${state_path}" ]] && rm -rf -- "${state_path}" } trap on_exit EXIT SIGHUP SIGINT SIGTERM # Environment and autostart: source_these=( -"/etc/profile", -"${HOME}/.profile", -"${XDG_CONFIG_HOME:-"$HOME/.config"}/bspwm/autostart" + "/etc/profile", + "${HOME}/.profile", + "${XDG_CONFIG_HOME:-"$HOME/.config"}/bspwm/autostart" ) for file in "${source_these[@]}"; do -- 2.44.0