From 0435659634a9f5cca65d722fe2097618007f4955 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 24 Dec 2016 16:01:59 -0500 Subject: [PATCH] os/arch/.xprofile: refactor --- os/arch/.xprofile | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/os/arch/.xprofile b/os/arch/.xprofile index 9c7f7818..373982bb 100644 --- a/os/arch/.xprofile +++ b/os/arch/.xprofile @@ -12,19 +12,20 @@ xset m 11/8 0 # keyboard repeat rate xset r rate 350 45 +# key daemon running sxhkd || sxhkd & -# lemonbar config depends on bspwm, so wait for it +# notifications +running dunst || dunst & +# window manager helpers +running compton || compton & + +# taskbar +$HOME/.config/panel/panel 2>&1 >$HOME/.config/panel/panel.log & + { - while ! running bspwm; do sleep 1; done - $HOME/.config/panel/panel 2>&1 >$HOME/.config/panel/panel.log & - - # notifications - running dunst || dunst & - # window manager helpers - running compton || compton & - - # If sxhkd isn't running, something is wrong and we're stuck. Instead, open - # a terminal so I can do something about it sleep 3 + + # If sxhkd isn't running by now, something is wrong and we're stuck. Instead, open + # a terminal so I can do something about it running sxhkd || termite & } &