From 844d3d1fda3f00de8670546dfb4a437bd8d3bc5b Mon Sep 17 00:00:00 2001 From: TUNQRT Date: Tue, 7 Oct 2025 14:39:02 +0200 Subject: [PATCH] bashrc update + pripojeni sluchatek demo --- .bashrc_zaloha | 12 ++++++++++-- sluchatka | 8 ++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 sluchatka diff --git a/.bashrc_zaloha b/.bashrc_zaloha index 5b9e68b..4d16ace 100644 --- a/.bashrc_zaloha +++ b/.bashrc_zaloha @@ -1,6 +1,7 @@ #TODO: # > 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 @@ -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 - alias ls='ls --color=auto' alias ll='ls -lah' +alias la='ls -a' alias cdp='cd ~/Documents/programy/' 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 b='/home/triplisa/Documents/programy/random_scripts/brightness' 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' diff --git a/sluchatka b/sluchatka new file mode 100755 index 0000000..b3d1086 --- /dev/null +++ b/sluchatka @@ -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