summaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile5
1 files changed, 4 insertions, 1 deletions
diff --git a/.bash_profile b/.bash_profile
index 7ab934c..1739afe 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -17,9 +17,12 @@ 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 -s )/hyprland.conf) & 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'