mirror of
https://github.com/balkian/dotfiles.git
synced 2025-08-23 16:02:19 +00:00
Lots of changes
New termite theme Changed i3 configuration Added run script and find_blob script
This commit is contained in:
14
scripts/.bin/find-blob.sh
Executable file
14
scripts/.bin/find-blob.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
obj_name="$1"
|
||||
shift
|
||||
git ls-files --stage \
|
||||
| if grep -q "$obj_name"; then
|
||||
echo Found in staging area. Run git ls-files --stage to see.
|
||||
fi
|
||||
|
||||
git log "$@" --pretty=format:'%T %h %s' \
|
||||
| while read tree commit subject ; do
|
||||
if git ls-tree -r $tree | grep -q "$obj_name" ; then
|
||||
echo $commit "$subject"
|
||||
fi
|
||||
done
|
@@ -2,7 +2,7 @@
|
||||
|
||||
if command -v rofi >/dev/null 2>&1;
|
||||
then
|
||||
launcher="rofi -show run"
|
||||
launcher="rofi -show drun"
|
||||
else
|
||||
launcher="dmenu_run -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191919" -sf "#b72f62" -b"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user