mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-01-09 18:49:44 +01:00
Compare commits
4 Commits
09c6f7edc3
...
de1cca03c7
| Author | SHA1 | Date | |
|---|---|---|---|
| de1cca03c7 | |||
| 52171c2361 | |||
| 99a12f4339 | |||
| 5bdaff6248 |
@@ -25,6 +25,7 @@ x-scheme-handler/msteams=teams.desktop
|
||||
x-scheme-handler/tonsite=org.telegram.desktop.desktop
|
||||
inode/directory=file-browser.desktop
|
||||
x-scheme-handler/betterdiscord=discord.desktop
|
||||
x-scheme-handler/discord=vesktop.desktop
|
||||
|
||||
[Added Associations]
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
|
||||
|
||||
@@ -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
2
.local/bin/etc/viper/carbon
Executable 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
2
.local/bin/etc/viper/silicon
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
java -jar "$VIPER_SILICON" "$@"
|
||||
6
.local/bin/tools/discord
Executable file
6
.local/bin/tools/discord
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
if command -v vesktop >/dev/null 2>&1; then
|
||||
exec vesktop --force-device-scale-factor=1.2 "$@"
|
||||
else
|
||||
exec discord "$@"
|
||||
fi
|
||||
8
.profile
8
.profile
@@ -5,7 +5,7 @@
|
||||
export DISPLAY_SERVER="xorg"
|
||||
|
||||
# Adds `~/.local/bin` and all subdirectories to $PATH
|
||||
export PATH="${PATH}:$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
||||
export PATH="$(du "${HOME}/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')":${PATH}
|
||||
|
||||
# Add flatpak to path
|
||||
export PATH="/var/lib/flatpak/exports/bin:${PATH}"
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user