2023-12-07 01:03:55 +02:00
|
|
|
# Set XDG_RUNTIME_DIR for sway
|
|
|
|
if test -z "${XDG_RUNTIME_DIR}"; then
|
|
|
|
UID="$(id -u)"
|
|
|
|
export XDG_RUNTIME_DIR=/run/user/"${UID}"
|
|
|
|
if ! test -d "${XDG_RUNTIME_DIR}"; then
|
|
|
|
mkdir "${XDG_RUNTIME_DIR}"
|
|
|
|
chmod 0700 "${XDG_RUNTIME_DIR}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2022-01-26 23:40:52 +02:00
|
|
|
# The city's finest exports!
|
2024-02-13 10:45:49 +02:00
|
|
|
export GTK_THEME="Catppuccin-Macchiato-Standard-Lavender-Dark"
|
|
|
|
export QT_QPA_PLATFORM="wayland"
|
2024-02-09 13:45:07 +02:00
|
|
|
export QT_QPA_PLATFORMTHEME="qt6ct"
|
|
|
|
export XDG_CURRENT_DESKTOP=sway
|
2023-01-07 16:12:59 +02:00
|
|
|
export GIT_EDITOR="nvim"
|
2022-05-01 10:25:06 +03:00
|
|
|
export GPG_TTY=$(tty)
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
2022-01-26 23:40:52 +02:00
|
|
|
|
2024-02-09 13:45:07 +02:00
|
|
|
export SCREENSHOT_DIR="$HOME/Screenshots"
|
2022-03-13 08:44:40 +02:00
|
|
|
|
2022-05-01 10:25:06 +03:00
|
|
|
# Let's get some private environment vars
|
|
|
|
source $HOME/.profile.private
|
|
|
|
|
|
|
|
# Let's keep $HOME clean
|
|
|
|
LESSHISTFILE=-
|
|
|
|
|
2023-12-07 01:03:55 +02:00
|
|
|
# Launch sway!
|
|
|
|
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
|
|
|
dbus-run-session sway
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
2023-01-17 16:50:53 +02:00
|
|
|
alias ccat="highlight -O ansi $@"
|
2022-01-26 23:40:52 +02:00
|
|
|
alias ls="ls -h --color=auto"
|
2024-02-05 18:53:51 +02:00
|
|
|
alias myip6="curl https://ifconfig.co"
|
|
|
|
alias myip4="curl -4 https://ifconfig.co"
|
2023-01-17 12:25:23 +02:00
|
|
|
alias vim="nvim $@"
|
2022-01-26 23:40:52 +02:00
|
|
|
alias wget="wget --hsts-file $HOME/.cache/wget/hsts"
|
2023-01-03 10:47:32 +02:00
|
|
|
alias woodpecker="$HOME/.local/bin/woodpecker --log-level=''"
|