#!/bin/sh # profile file. Runs on login. # Environmental variables are set here. # Expanding $PATH to set ./local/bin export PATH="$PATH:${$(find ~/.local/bin -type d -printf %p:)%%:}" # Default programs: export EDITOR="nvim" export TERM="screen-256color" export BROWSER="firefox" # XDG export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" # Moving home config files to .config export XINITRC="${XDG_CONFIG_HOME:-$HOME/.config}/x11/xinitrc" export ZDOTDIR="${XDG_CONFIG_HOME:-$HOME/.config}/zsh" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0" export WGETRC="${XDG_CONFIG_HOME:-$HOME/.config}/wget/wgetrc" export HISTFILE="${XDG_DATA_HOME:-$HOME/.local/share}/history" # NNN file manager export NNN_FCOLORS='0B0B04060006060009060B06' ### Less export LESSHISTFILE="-" ### Styling export QT_STYLE_OVERRIDE=adwaita-dark [ "$(tty)" = "/dev/tty1" ] && exec dbus-run-session ssh-agent sway