Small updates

This commit is contained in:
2025-06-08 12:57:28 +02:00
parent acb5f00f64
commit 5ecacb5d28
2 changed files with 19 additions and 11 deletions

View File

@@ -16,6 +16,14 @@
- i3 - i3
- polybar - polybar
- name: Development Environment
become: true
apt:
name:
- build-essential
- ninja-build
- luarocks
- name: Capture Tools - name: Capture Tools
become: true become: true
apt: apt:

22
profile
View File

@@ -10,22 +10,22 @@
# if running bash # if running bash
if [ -n "$BASH_VERSION" ]; then if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists # include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc" . "$HOME/.bashrc"
fi fi
fi fi
# set PATH so it includes user's private bin if it exists # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then if [ -d "$HOME/bin" ]; then
PATH="$HOME/bin:$PATH" PATH="$HOME/bin:$PATH"
fi fi
# set PATH so it includes user's private bin if it exists # set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then if [ -d "$HOME/.local/bin" ]; then
PATH="$HOME/.local/bin:$PATH" PATH="$HOME/.local/bin:$PATH"
fi fi
if [ -n "$PS1" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then #if [ -n "$PS1" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -t 1 ]; then
tmux attach-session -t main || tmux new-session -s main # tmux attach-session -t main || tmux new-session -s main
fi #fi