From 53f2ff551994caaef62a276619a80e8505acb68f Mon Sep 17 00:00:00 2001 From: "agausmann@fastmail.com" Date: Thu, 1 Feb 2024 13:39:57 -0600 Subject: [PATCH] Add bash includes --- include/bash_profile | 7 +++++++ include/bashrc | 23 +++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 include/bash_profile create mode 100644 include/bashrc diff --git a/include/bash_profile b/include/bash_profile new file mode 100644 index 0000000..8703f96 --- /dev/null +++ b/include/bash_profile @@ -0,0 +1,7 @@ +# To be sourced by the user's .bash_profile script. +# +# Since install scripts like to append random stuff to bash_profile, +# and it may contain other things specific to the system config, +# it's not feasible to generate and install a universal bash_profile. + +export PATH="$HOME/bin:$HOME/.local/bin:$PATH" diff --git a/include/bashrc b/include/bashrc new file mode 100644 index 0000000..8aab263 --- /dev/null +++ b/include/bashrc @@ -0,0 +1,23 @@ +# To be sourced by the user's .bashrc script. +# +# Since install scripts like to append random stuff to bashrc, +# and it may contain other things specific to the system config, +# it's not feasible to generate and install a universal bashrc. + +# Aliases +alias dsway='dbus-run-session sway' + +export EDITOR=hx + +# SSH agent +[ -n "$WAYLAND_DISPLAY" ] && eval $(keychain --confirm --eval --timeout 60 -q) + +# Vivado workaround +export _JAVA_AWT_WM_NONREPARENTING=1 + +# Force firefox to use wayland +export MOZ_ENABLE_WAYLAND=1 +export MOZ_DBUS_REMOTE=1 + +# Force Adwaita Light +export GTK_THEME=Adwaita