config: a few small adjustments
This commit is contained in:
parent
9bcf6c91da
commit
2e26d955ad
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"microbreakDuration": 20000,
|
||||
"microbreakDuration": 30000,
|
||||
"microbreakInterval": 1200000,
|
||||
"breakDuration": 180000,
|
||||
"breakInterval": 3,
|
||||
"breakInterval": 2,
|
||||
"breakNotification": true,
|
||||
"microbreakNotification": true,
|
||||
"breakNotificationInterval": 30000,
|
||||
|
@ -454,4 +454,4 @@
|
|||
"screen": "primary",
|
||||
"timeToBreakInTray": false,
|
||||
"currentTimeInBreaks": false
|
||||
}
|
||||
}
|
|
@ -44,7 +44,7 @@ yas() {
|
|||
)
|
||||
if test -n "$pkg"
|
||||
then echo "Installing $pkg..."
|
||||
cmd="yay -Sy --rebuild $pkg"
|
||||
cmd="yay -Sy --batchinstall --rebuild $pkg"
|
||||
print -s "$cmd"
|
||||
eval "$cmd"
|
||||
rehash
|
||||
|
|
|
@ -36,7 +36,7 @@ cl() {
|
|||
cd() {
|
||||
if test -d "$DATA" && test "${1:--}" != "-" -a ! -d "$1" -a $# -eq 1
|
||||
then
|
||||
dir=$(fd --no-ignore --glob "$1*" "$DATA" --maxdepth 2 --type d --max-results 1 2>/dev/null)
|
||||
dir=$(fd --no-ignore --glob "$1*" "$DATA" $MNT --maxdepth 2 --type d --max-results 1 2>/dev/null)
|
||||
test -n "$dir" && cd "$dir"
|
||||
else
|
||||
builtin cd "$@" &&
|
||||
|
|
|
@ -18,6 +18,7 @@ case $1 in
|
|||
(socha) user=software-challenge; host=git@github.com;;
|
||||
(hub) host=git@github.com;;
|
||||
(lab) host=git@gitlab.com;;
|
||||
(ftt) host=git@code.ftt.gmbh; user=janek;;
|
||||
(*) host=${1:-gitea@git.jfischer.org};;
|
||||
esac
|
||||
user=${3:-${user:-$(git config user.name)}}
|
||||
|
|
|
@ -22,7 +22,7 @@ esac
|
|||
# FSTAB: BY LABEL
|
||||
if grep --word-regexp "LABEL=$arg" /etc/fstab
|
||||
then # have to mount twice as the first one might be creating the directory
|
||||
mount -L "$arg" "$@" 2>/dev/null || mount -L "$arg" "$@"
|
||||
mount -L "$@" 2>/dev/null || mount -L "$@"
|
||||
exit $?
|
||||
fi
|
||||
# FSTAB: BY MOUNTPOINT/NAME
|
||||
|
|
3
.zshenv
3
.zshenv
|
@ -4,7 +4,6 @@ export_existing() {
|
|||
do test -d "$2" && export $var="$2" && break
|
||||
shift
|
||||
done
|
||||
echo
|
||||
}
|
||||
export_existing DATA $HOME/daten $HOME/data
|
||||
export MUSIC="$DATA/4-media/music"
|
||||
|
@ -137,7 +136,7 @@ alt-shift-down:preview-down,alt-shift-up:preview-up,esc:close")
|
|||
#alt-r:preview(bat {}),
|
||||
export FZF_HISTDIR="$XDG_STATE_HOME/fzf"
|
||||
mkdir -p "$XDG_STATE_HOME/fzf"
|
||||
export FZF_DEFAULT_OPTS="--select-1 --exit-0 --ansi
|
||||
export FZF_DEFAULT_OPTS="--exit-0 --ansi
|
||||
--tiebreak=$($_fzf_latest && echo "chunk,")end,length --history=$FZF_HISTDIR/history --bind='$FZF_BINDINGS'
|
||||
$($_fzf_latest && echo '--preview-window=60%,border-left --marker=o')"
|
||||
FD_BASE="fd --hidden --color=always --no-ignore-vcs"
|
||||
|
|
Loading…
Reference in New Issue