config: slight setting adjustments

This commit is contained in:
xeruf 2021-11-06 23:26:22 +01:00
parent 08c1dcd2d7
commit 85a7b4045d
4 changed files with 5 additions and 4 deletions

View File

@ -165,6 +165,7 @@
f = fetch
fa = fetch --all
fs = !git fetch && git st
lr = pull --rebase
lu = !git pull upstream ${1:-$(git curbranch)}
rg = rmgonebranches

View File

@ -1,6 +1,6 @@
[redshift]
temp-day=6400
temp-night=3200
temp-night=3600
brightness-day=1.0
brightness-night=0.6
brightness-night=0.8
fade=1

View File

@ -12,7 +12,7 @@ fi
grep -e "[^\w=/]$1[^\w/]" /etc/fstab && mount "$@" && exit 0
case "$1" in
(sd*|loop*|nvme*|md*|dm*|vg*) partition="/dev/$1"
(sd*|loop*|nvme*|mm*|md*|dm*|vg*) partition="/dev/$1"
mountpoint="${2:-${MNT:-${XDG_RUNTIME_DIR}/mnt}/$1}"
grep -e "[^\w=/]$mountpoint[^\w/]" /etc/fstab && shift && mount "$mountpoint" "$@" && exit 0;;
(*) partition="-L $1";;

View File

@ -57,7 +57,7 @@ export IGNOREDIRS="-x dev -x .sync -x .stfolder -x .git -x .gradle -x .idea -x o
# red stderr
test -f "/usr/lib/libstderred.so" && export LD_PRELOAD="/usr/lib/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"
# software config
export TEXMF=/usr/share/context
#export TEXMF=/usr/share/context
export KSCRIPT_IDEA_COMMAND=intellij-idea-ultimate-edition
## enable pass extensions
export PASSWORD_STORE_ENABLE_EXTENSIONS="true"