initial commit
This commit is contained in:
38
.config/yash/profile
Normal file
38
.config/yash/profile
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Adds `~/.local/bin` to $PATH
|
||||
export PATH="$PATH:$(find ~/.local/bin -type d -printf %p:)"
|
||||
|
||||
# Default programs:
|
||||
export EDITOR="nvim"
|
||||
export TERMINAL="st"
|
||||
export BROWSER="chromium"
|
||||
|
||||
# ~/ Clean-up:
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_CACHE_HOME="$HOME/.cache"
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
# export GNUPGHOME="$XDG_DATA_HOME/gnupg"
|
||||
export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc"
|
||||
# export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs.
|
||||
export WINEPREFIX="$XDG_DATA_HOME/wineprefixes/default"
|
||||
export GOPATH="$XDG_DATA_HOME/go"
|
||||
export HISTFILE="$XDG_DATA_HOME/history"
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1 # Fix for Java applications in dwm
|
||||
|
||||
# Wayland
|
||||
# export MOZ_ENABLE_WAYLAND=1
|
||||
# export SDL_VIDEODRIVEVER=wayland
|
||||
# export ELECTRON_OZONE_PLATFORM_HINT=auto
|
||||
# export QT_QPA_PLATFORM=wayland-egl
|
||||
# export GDK_BACKEND=wayland,x11
|
||||
|
||||
# Other program settings:
|
||||
export QT_QPA_PLATFORMTHEME="gtk2" # Have QT use gtk2 theme.
|
||||
eval "$(ssh-agent -s)" >~/.ssh/agent.env
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
|
||||
# Start graphical server on user's current tty if not already running.
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec sx
|
||||
Reference in New Issue
Block a user