From 13e3838f488a241a1a03a1ffe56ccf7f6b90fd65 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 12 Feb 2014 15:02:44 +0900 Subject: [PATCH] xprograms: sleep before run programs --- xinitrc | 1 + xprograms | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/xinitrc b/xinitrc index 2d7bfd3..748cce5 100755 --- a/xinitrc +++ b/xinitrc @@ -19,6 +19,7 @@ setxkbmap -option "ctrl:nocaps,ctrl:menu_rctrl" xmodmap -e 'keycode 101 = Alt_R Meta_R' # hiragana key as alt #xmodmap -e 'remove Lock = Caps_Lock' #xmodmap -e 'add Control = Caps_Lock' +#xmodmap -e 'keycode 134 = Pointer_Button3 type synclient >/dev/null 2>&1 && { synclient MaxSpeed=1.6 diff --git a/xprograms b/xprograms index 6d0ab87..872816e 100755 --- a/xprograms +++ b/xprograms @@ -10,7 +10,7 @@ _feh(){ _tint2(){ #tint2 -c ~/.dotfiles/tint2rc & - tint2 & + (sleep 1s && tint2) & } _dropbox(){ @@ -18,7 +18,7 @@ _dropbox(){ } _volumeicon(){ - volumeicon & + (sleep 1s && volumeicon) & } _gsoundap(){ @@ -57,7 +57,7 @@ _gkeyring(){ } _nmapplet(){ - nm-applet & + (sleep 1s && nm-applet) & } for p in $@