1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-12-15 15:59:46 +01:00

Merge branch 'master' of ghthub:tiyn/dotfiles

This commit is contained in:
2025-12-04 23:25:30 +01:00
6 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/sh
export XDG_CURRENT_DESKTOP="GNOME"
exec /usr/bin/threema-beta "$@"

View File

@@ -10,6 +10,7 @@ file=$(readlink -f "$1")
dir=$(dirname "$file")
base="${file%.*}"
basenodir="${1%.*}"
vipercmd="silicon" #"carbon"
cd "$dir" || exit
@@ -25,6 +26,7 @@ textype() { \
}
case "$file" in
*\.vpr) $vipercmd "$file" ;;
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;;
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;;
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;;

2
.local/bin/etc/viper/carbon Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
java -jar "$VIPER_CARBON" --z3Exe "$VIPER_Z3" --boogieExe "$VIPER_BOOGIE" "$@"

2
.local/bin/etc/viper/silicon Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
java -jar "$VIPER_SILICON" "$@"

View File

@@ -64,6 +64,12 @@ export PATH="${GOBIN}:${PATH}"
# nim
export PATH="${HOME}/.nimble/bin:${PATH}"
# viper
export VIPER_SILICON=""
export VIPER_CARBON=""
export VIPER_Z3="/bin/z3"
export VIPER_BOOGIE="$HOME/.dotnet/tools/boogie"
# python
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"