-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.yash_profile
41 lines (30 loc) · 1.14 KB
/
.yash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
export LANG=en_US.UTF-8
export PATH="$HOME/.local/bin/$(uname -n):$HOME/.local/bin:$HOME/.cargo/bin:$PATH:$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$HOME/dev/wube/factorio-development-tools:$HOME/dev/wube/factorio/utils/unix:$HOME/.local/share/go/bin:/usr/sbin"
export EDITOR="kak"
export PAGER="less"
export FACTORIO_PATH="$HOME/games/factorio"
export FACTORIO_COMPILER="Clang"
# QT theme
export QT_PLATFORM_THEME=qt5ct
export QT_QPA_PLATFORMTHEME=qt5ct
# Make Java applications work correctly
export _JAVA_AWT_WM_NONREPARENTING=1
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# Make things run on Wayland
export MOZ_ENABLE_WAYLAND=1
export GOPATH="${XDG_DATA_HOME:-~/.local/share}/go"
# Local environment configuration
[ -f ~/.env ] && . ~/.env
# PC-specific configuration
if [ -f "~/.yash_profile_$(uname -n)" ]; then
. "~/.yash_profile_$(uname -n)"
fi
# Launch desktop
if [ "$(tty)" = "/dev/tty1" ]; then
export XDG_CURRENT_DESKTOP=sway
exec sway
fi
if [ "$(tty)" = "/dev/tty2" ]; then
exec gamescope --adaptive-sync --hdr-enabled -e --nested-width 3840 --nested-height 2160 -- steam -gamepadui
fi
# vim: ft=sh