Distinguish between device types
This commit is contained in:
parent
c4357fa2e7
commit
600110e625
5 changed files with 68 additions and 12 deletions
20
roles/desktop-environment/templates/bash_profile.j2
Normal file
20
roles/desktop-environment/templates/bash_profile.j2
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Fix gpg for git commit signing
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
# Autostart sway at login
|
||||
{% if isVm == true %}
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
{% endif %}
|
||||
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec sway; fi
|
Loading…
Add table
Add a link
Reference in a new issue