diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-28 13:14:23 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-04-28 13:14:23 +0800 |
commit | e4b9629a3df499cb560ec1c97bcbb8588451ea9e (patch) | |
tree | 9b2c3d5815b14f78b4ecd277b29c112838d4cefb | |
parent | 9a869c4a18832b18f112a7892c98503c56b8ad5f (diff) |
Update
-rw-r--r-- | misc/openbox/rc.xml | 11 | ||||
-rwxr-xr-x | tools/init/sync.sh | 15 |
2 files changed, 19 insertions, 7 deletions
diff --git a/misc/openbox/rc.xml b/misc/openbox/rc.xml index 58a8bc9..0b36250 100644 --- a/misc/openbox/rc.xml +++ b/misc/openbox/rc.xml | |||
@@ -181,6 +181,17 @@ | |||
181 | </finalactions> | 181 | </finalactions> |
182 | </action> | 182 | </action> |
183 | </keybind> | 183 | </keybind> |
184 | <keybind key="A-S-Tab"> | ||
185 | <action name="PreviousWindow"> | ||
186 | <allDesktops>yes</allDesktops> | ||
187 | <!-- Hide black border around windows --> | ||
188 | <bar>no</bar> | ||
189 | <finalactions> | ||
190 | <action name="focus"/> | ||
191 | <action name="raise"/> | ||
192 | </finalactions> | ||
193 | </action> | ||
194 | </keybind> | ||
184 | <!-- Window Tiling: Snap feature --> | 195 | <!-- Window Tiling: Snap feature --> |
185 | <keybind key="W-Left"> | 196 | <keybind key="W-Left"> |
186 | <action name="UnmaximizeFull"/> | 197 | <action name="UnmaximizeFull"/> |
diff --git a/tools/init/sync.sh b/tools/init/sync.sh index c65f720..349ca77 100755 --- a/tools/init/sync.sh +++ b/tools/init/sync.sh | |||
@@ -15,13 +15,14 @@ sync ~/.task & | |||
15 | sync ~/.password-store & | 15 | sync ~/.password-store & |
16 | sync ~/.vim_runtime & | 16 | sync ~/.vim_runtime & |
17 | 17 | ||
18 | while [ $(jobs -r | wc -l) -gt 0 ]; do | 18 | while true; do |
19 | sleep 1; | 19 | if test $(jobs -r | wc -l) -gt 0; then |
20 | done | 20 | sleep 1; |
21 | 21 | else | |
22 | if which notify-send &>/dev/null; then | 22 | which notify-send &>/dev/null && notify-send 'Repos synced' |
23 | notify-send 'Repos synced' | 23 | break |
24 | fi | 24 | fi |
25 | done & | ||
25 | 26 | ||
26 | # others repo | 27 | # others repo |
27 | #check_upstream ~/git/tig || echo in `pwd` >/dev/tty & | 28 | #check_upstream ~/git/tig || echo in `pwd` >/dev/tty & |