Browse Source

xprograms: add lxpolkit entry

pull/1/head
10sr 10 years ago
parent
commit
99c1afbd52
2 changed files with 10 additions and 4 deletions
  1. +2
    -0
      setup.sh
  2. +8
    -4
      xprograms

+ 2
- 0
setup.sh View File

@@ -12,6 +12,8 @@ __homelocal="$HOME/.local"
__homevar="$HOME/.var" __homevar="$HOME/.var"
__dotfiles_dir_default="$HOME/10sr_dotfiles" __dotfiles_dir_default="$HOME/10sr_dotfiles"


# TODO: how to give args to command?

########################### ###########################
# utils # utils




+ 8
- 4
xprograms View File

@@ -3,9 +3,9 @@
# Japanese IM settings are not included in this script. # Japanese IM settings are not included in this script.


_feh(){ _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(){ _tint2(){
@@ -57,7 +57,7 @@ _xcompmgr(){
} }


_compton(){ _compton(){
compton -b
(sleep 1s && compton -b) &
} }


_saku(){ _saku(){
@@ -73,6 +73,10 @@ _nmapplet(){
(sleep 1s && nm-applet) & (sleep 1s && nm-applet) &
} }


_lxpolkit(){
(sleep 1s && /usr/lib/lxpolkit/lxpolkit) &
}

for p in $@ for p in $@
do do
_$p _$p


Loading…
Cancel
Save