Compare commits
3 Commits
bcd54ddbf4
...
6e8e828fd5
Author | SHA1 | Date |
---|---|---|
Sage Vaillancourt | 6e8e828fd5 | |
Sage Vaillancourt | 7be306f091 | |
Sage Vaillancourt | 4f79affa37 |
|
@ -18,6 +18,10 @@ function helpdef {
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function wait-for {
|
||||||
|
while ! $@; do sleep 1; done
|
||||||
|
}
|
||||||
|
|
||||||
function slides() {
|
function slides() {
|
||||||
OLD_PATH="$PATH"
|
OLD_PATH="$PATH"
|
||||||
PATH="$HOME/.slides-bin:$PATH"
|
PATH="$HOME/.slides-bin:$PATH"
|
||||||
|
|
|
@ -84,7 +84,7 @@ add-recent() {
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
echo "$1" >> "$RECENTS"
|
echo "$1" >> "$RECENTS"
|
||||||
tail -n 10 "$RECENTS" > "$RECENTS.temp"
|
grep -v "^$" "$RECENTS" | tail -n 10 "$RECENTS" > "$RECENTS.temp"
|
||||||
mv "$RECENTS.temp" "$RECENTS"
|
mv "$RECENTS.temp" "$RECENTS"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -127,6 +127,7 @@ fi
|
||||||
if [[ "$1" == "" ]]; then
|
if [[ "$1" == "" ]]; then
|
||||||
choice="$(cat \
|
choice="$(cat \
|
||||||
<(recent) \
|
<(recent) \
|
||||||
|
<(echo -e "Recents:\n") \
|
||||||
<(system_info) \
|
<(system_info) \
|
||||||
<(windows) \
|
<(windows) \
|
||||||
<($HOME/.rofi-list-git-repos.py --no-icon) \
|
<($HOME/.rofi-list-git-repos.py --no-icon) \
|
||||||
|
|
Loading…
Reference in New Issue