export YASH_PROFILE_LOADED=true . /etc/profile export LANG=en_US.UTF-8 export PATH="$HOME/.local/bin/$(uname -n):$HOME/.local/bin:$HOME/.cargo/bin:$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:$PATH" export EDITOR="kak" export PAGER="less" export FACTORIO_PATH="$HOME/.local/games/factorio" # export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh" export GOPATH="${XDG_DATA_HOME:-${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 exec sway-session fi if [ "$(tty)" = "/dev/tty2" ]; then export DXVK_HDR=1 export STEAM_GAMESCOPE_HDR_SUPPORTED=1 export ENABLE_GAMESCOPE_WSI=1 exec gamescope -O HDMI-A-1 --adaptive-sync --hdr-enabled --hdr-itm-enable -e -W 3840 -H 2160 --nested-width 3840 --nested-height 2160 -r 60 --disable-color-management -- steam -gamepadui -pipewire-dmabuf # exec gamescope -O DP-1 --adaptive-sync --hdr-enabled --hdr-itm-enable -e -W 2560 -H 1440 --nested-width 2560 --nested-height 1440 --disable-color-management -- steam -gamepadui -pipewire-dmabuf fi # vim: ft=sh