diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-01-14 22:44:19 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-01-14 22:44:19 +0800 |
commit | 4e11bdacaab15ef8f6780ecb9521d76f1db81423 (patch) | |
tree | d3ce04dc23086cf786c6f6f7d008c6bc474c5774 /_config | |
parent | eb1cbb009dd8f98eb71db6ff00f741d5329465ee (diff) | |
download | dotfiles-4e11bdacaab15ef8f6780ecb9521d76f1db81423.tar.bz2 |
Update openbox autostart.sh & rc.xml
* `autostart.sh`: use `pgrep -x`
* `rc.xml`: add keybind 'A-grave`
Diffstat (limited to '_config')
-rwxr-xr-x | _config/openbox/autostart.sh | 32 | ||||
-rw-r--r-- | _config/openbox/rc.xml | 5 |
2 files changed, 20 insertions, 17 deletions
diff --git a/_config/openbox/autostart.sh b/_config/openbox/autostart.sh index ea10b93..6bcfe97 100755 --- a/_config/openbox/autostart.sh +++ b/_config/openbox/autostart.sh @@ -1,19 +1,17 @@ #!/bin/sh -feh --bg-fill '/home/ly/pictures/wallpapers/.current' & -#nitrogen --restore & -#ibus-daemon -d -x -pgrep fcitx || fcitx & -pkill tint2 -tint2 & -#xcompmgr -CfF & -pgrep xcompmgr || xcompmgr & -pgrep xscreensaver || xscreensaver -no-splash & -#wicd-client & -#scrolling.sh & -#xfce4-volumed -#xmms2-launcher -#mpd & -#parcellite & -pgrep urxvtd || urxvtd -q -f -o & -#/usr/bin/conky -q & + +xset -b + +#feh --bg-fill "$HOME/pictures/wallpapers/.current" & +nitrogen --restore & + +pgrep -x urxvtd || urxvtd -q -f -o & +pgrep -x fcitx || fcitx & +pgrep -x tint2 || tint2 & +pgrep -x xcompmgr || xcompmgr & +pgrep -x xscreensaver || xscreensaver -no-splash & +pgrep -x mpd || mpd & + +# pgrep -x parcellite || parcellite & #xfce4-power-manager & + diff --git a/_config/openbox/rc.xml b/_config/openbox/rc.xml index d0de25b..6d619bf 100644 --- a/_config/openbox/rc.xml +++ b/_config/openbox/rc.xml @@ -395,6 +395,11 @@ <command>~/.config/openbox/scripts/urxvtq.sh</command> </action> </keybind> + <keybind key="A-grave"> + <action name="Execute"> + <command>~/.config/openbox/scripts/urxvtq.sh</command> + </action> + </keybind> <keybind key="W-f"> <action name="Execute"> <command>thunar</command> |