cleaned bashrc and added scripts
This commit is contained in:
3
.local/bin/bell
Executable file
3
.local/bin/bell
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
paplay /usr/share/sounds/freedesktop/stereo/complete.oga
|
3
.local/bin/docker-ip
Executable file
3
.local/bin/docker-ip
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}'
|
14
.local/bin/lfcd
Executable file
14
.local/bin/lfcd
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
tmp="$(mktemp)"
|
||||
|
||||
lfrun -last-dir-path="$tmp" "$@"
|
||||
if [ -f "$tmp" ]; then
|
||||
dir="$(cat "$tmp")"
|
||||
rm -f "$tmp"
|
||||
if [ -d "$dir" ]; then
|
||||
if [ "$dir" != "$(pwd)" ]; then
|
||||
cd "$dir"
|
||||
fi
|
||||
fi
|
||||
fi
|
3
.local/bin/rscp
Executable file
3
.local/bin/rscp
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
rsync --archive -hh --partial --info=stats1,progress2 --modify-window=1 "$@"
|
9
.local/bin/start-pipewire
Normal file
9
.local/bin/start-pipewire
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
__start() {
|
||||
pipewire &
|
||||
pipewire-pulse &
|
||||
wireplumber &
|
||||
}
|
||||
|
||||
__start & disown
|
Reference in New Issue
Block a user