summaryrefslogtreecommitdiff
path: root/.bash_profile
blob: 1739afe95178306ef6e0bf37f465a2d62694a90e (plain)
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
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/login.defs
#umask 022

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

export PATH=/home/jrayhawk/bin:"${PATH}"
export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/ssh-agent # Debian has been punting on this for fucking years; see https://bugs.debian.org/961311 and ~/.config/systemd/user/ssh-agent.service
export SSH_ASKPASS_REQUIRE=force

export TERM=xterm-256color
export WLR_DRM_NO_MODIFIERS=1 # set to 1 to always allocate planes without modifiers, this can fix certain modeset failures because of bandwidth restrictions.

export HOSTNAME="$(hostname -s)"
#systemctl --user set-environment HOSTNAME="$HOSTNAME"

alias    startx='startx -- vt7 & sleep 2; logout'
alias startsway='(sleep 1; exec systemd-cat --identifier=sway sway) & logout'
alias starthypr='(sleep 1; exec systemd-cat --identifier=hyprland hyprland --config ~/.config/hypr/"$HOSTNAME"/hyprland.conf) & logout'
alias   discord='firejail discord'
alias   firefox='firejail firefox'
alias      zoom='firejail zoom'