summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-09-10 18:25:25 -0700
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-09-10 18:31:04 -0700
commitaa661ce61b9f3ff83615d4da8b6b782a7bbaa3c4 (patch)
treea54dd6ddcda0992fcec5670787847fbf8e3b4cbb /.bash_profile
downloadjrayhawk-dotfiles-aa661ce61b9f3ff83615d4da8b6b782a7bbaa3c4.tar.gz
jrayhawk-dotfiles-aa661ce61b9f3ff83615d4da8b6b782a7bbaa3c4.zip
Initial gitignore and wlroots session management
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile22
1 files changed, 22 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
new file mode 100644
index 0000000..12c8fb1
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1,22 @@
+# ~/.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 WLR_DRM_NO_MODIFIERS=1 # set to 1 to always allocate planes without modifiers, this can fix certain modeset failures because of bandwidth restrictions.
+
+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 -s )/hyprland.conf) & logout'
+alias firefox='firejail firefox'
+alias zoom='firejail zoom'