bashrc update + pripojeni sluchatek demo

This commit is contained in:
TUNQRT 2025-10-07 14:39:02 +02:00
parent 7cf474f1cc
commit 844d3d1fda
2 changed files with 18 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#TODO: #TODO:
# > better PS1 # > better PS1
# > colorful pager (PAGER=...) # > colorful pager (PAGER=...) (less -Dxcolor : x=typ textu)
# > alias pro mkdir && cd do vytvoreneho
# > colors form pallette generator...how tf did I do that # > colors form pallette generator...how tf did I do that
@ -9,16 +10,23 @@ PS1='\e[38;5;18m<\e[38;5;128m\u\e[38;5;18m@\e[38;5;128m\h\e[38;5;18m>\e[38;5;24m
shopt -s autocd shopt -s autocd
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias ll='ls -lah' alias ll='ls -lah'
alias la='ls -a'
alias cdp='cd ~/Documents/programy/' alias cdp='cd ~/Documents/programy/'
alias cds='cd ~/Documents/programy/random_scripts/' alias cds='cd ~/Documents/programy/random_scripts/'
alias cdf='cd ~/fit'
alias cdfa='cd ~/fit/ag1'
alias cdpr='cd ~/fit/pa1/progresty'
# nefunguje
# alias mcd='/home/triplisa/Documents/programy/random_scripts/mkc'
alias q='exit' alias q='exit'
alias b='/home/triplisa/Documents/programy/random_scripts/brightness' alias b='/home/triplisa/Documents/programy/random_scripts/brightness'
alias tb='/home/triplisa/Documents/programy/random_scripts/toggle_bt.sh' alias tb='/home/triplisa/Documents/programy/random_scripts/toggle_bt.sh'
alias s='/home/triplisa/Documents/programy/random_scripts/sluchatka'
alias f='/home/triplisa/factorio-space-age/factorio/bin/x64/factorio' alias f='/home/triplisa/factorio-space-age/factorio/bin/x64/factorio'

8
sluchatka Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
#TODO:
# -> get mac address & connect
# -> if bluetooth off, turn on
bluetoothctl devices | grep -E "JBL Tune 770NC$" | awk '{print $2}' | xargs bluetoothctl connect