configs/dot.profile

50 lines
1.3 KiB
Text
Raw Normal View History

2016-02-26 02:26:43 +01:00
source /etc/profile
2019-09-03 19:47:27 +02:00
export QT_QPA_PLATFORM=wayland-egl
export GDK_BACKEND=wayland
export SDL_VIDEODRIVER=wayland
export MOZ_ENABLE_WAYLAND=1
export XDG_CURRENT_DESKTOP=Unity
export XMODIFIERS=@im=ibus
2017-01-12 17:45:28 +01:00
export EDITOR=kak
export GOPATH=$HOME/src/go
2018-07-19 21:54:06 +02:00
export ELMPATH=$HOME/src/pkg/Elm-Platform/0.18/.cabal-sandbox/bin
2019-09-03 19:47:27 +02:00
export CARGO_HOME=$HOME/.cargo
export PATH=$HOME/.local/bin:$HOME/.local/share/npm-global/bin:$GOPATH/bin:$ELMPATH:$CARGO_HOME/bin:$PATH
2016-02-26 02:26:43 +01:00
export MANPATH=$HOME/.local/share/man:/usr/share/man:/usr/local/share/man
2017-01-12 17:45:28 +01:00
export FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:darkening-parameters=500,300,1000,200,1500,100,2000,0 autofitter:warping=1"
export INFINALITY_FT_FILTER_PARAMS='10 35 40 35 10'
2016-02-26 02:26:43 +01:00
2019-11-06 01:08:29 +01:00
export LD_LIBRARY_PATH=$HOME/.local/lib:$HOME/.local/lib/haxe:/lib
2019-09-03 19:47:27 +02:00
2016-02-26 02:26:43 +01:00
alias xi="sudo xbps-install"
alias xq="xbps-query -Rs"
alias xqi="xbps-query -RS"
2016-05-19 21:56:21 +02:00
alias xql="xbps-query -s"
2017-01-12 22:57:02 +01:00
alias xqf="xbps-query -f"
2018-07-19 21:54:06 +02:00
alias xqo="xbps-query -o"
alias xqre="xbps-query -R --regex -s"
2017-01-12 17:45:28 +01:00
alias howto="howdoi -c"
2019-09-03 19:47:27 +02:00
alias icat="kitty +kitten icat"
alias wttr="wego"
short_url () {
curl -F "shorten=$1" https://0x0.st
}
share_file () {
curl -F "file=@$1" https://0x0.st
}
2016-02-26 02:26:43 +01:00
2019-09-03 19:47:27 +02:00
if [[ "$TTY" == "/dev/tty"* ]]
then
setfont /home/nk/.local/share/fonts/spleen-16x32.psfu
fi
2019-10-26 16:41:17 +02:00
if [ "$TTY" = /dev/tty1 -a $USER != root -a ! -e /tmp/.X0-lock ]
then
.local/bin/sway
fi