diff --git a/setup.sh b/setup.sh index c6ffdcb..89d9103 100755 --- a/setup.sh +++ b/setup.sh @@ -12,6 +12,8 @@ __homelocal="$HOME/.local" __homevar="$HOME/.var" __dotfiles_dir_default="$HOME/10sr_dotfiles" +# TODO: how to give args to command? + ########################### # utils diff --git a/xprograms b/xprograms index c8bfb76..7a5c2d4 100755 --- a/xprograms +++ b/xprograms @@ -3,9 +3,9 @@ # Japanese IM settings are not included in this script. _feh(){ - test -f "$HOME/.fehbg" && - type feh >/dev/null 2>&1 && - sh "$HOME/.fehbg" + test -f "$HOME/.fehbg" && \ + type feh >/dev/null 2>&1 && \ + sh "$HOME/.fehbg" } _tint2(){ @@ -57,7 +57,7 @@ _xcompmgr(){ } _compton(){ - compton -b + (sleep 1s && compton -b) & } _saku(){ @@ -73,6 +73,10 @@ _nmapplet(){ (sleep 1s && nm-applet) & } +_lxpolkit(){ + (sleep 1s && /usr/lib/lxpolkit/lxpolkit) & +} + for p in $@ do _$p