mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
monitor position in sway
extra utils chromium in wayland chomium use consistent password store irrespective of login session
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
/usr/bin/chromium --password-store=kwallet5 "$@"
|
||||
/usr/bin/chromium-browser --password-store=kwallet5 "$@"
|
||||
|
||||
@@ -18,6 +18,16 @@ fonts_for_lang(){
|
||||
fc-list :lang=$1
|
||||
}
|
||||
|
||||
# list executable files
|
||||
ls-exe(){
|
||||
find ./ -type f -executable
|
||||
}
|
||||
|
||||
# List docker containers with IP address
|
||||
docker-ips() {
|
||||
docker inspect --format='{{ .Id }} - {{ .Name }} - {{ .NetworkSettings.IPAddress }}' $(docker ps -aq)
|
||||
}
|
||||
# Start tesseract web demo
|
||||
ocr(){
|
||||
cd /home/hari/Projects/Github/harish2704.github.io/ml-tesseract-demo
|
||||
http-server -o
|
||||
@@ -264,6 +274,18 @@ pulseTcpStop(){
|
||||
pactl unload-module module-native-protocol-tcp
|
||||
}
|
||||
|
||||
#list scsi devices
|
||||
scsiList(){
|
||||
cat /proc/scsi/scsi
|
||||
}
|
||||
|
||||
#remove scsi device
|
||||
scsiRemoveDevice(){
|
||||
cat <<EOF
|
||||
echo "scsi remove-single-device 7 0 0 0" > /proc/scsi/scsi
|
||||
EOF
|
||||
}
|
||||
|
||||
# Setup autocomplete. run eval "$(THIS_FILE setup-autocomplete)"
|
||||
setup-autocomplete(){
|
||||
cat<<EOF
|
||||
|
||||
Reference in New Issue
Block a user