monitor position in sway

extra utils
chromium in wayland
chomium use consistent password store irrespective of login session
This commit is contained in:
2022-12-08 11:46:19 +05:30
parent b696f8d9ae
commit 9063bb1a0a
6 changed files with 52 additions and 3 deletions
@@ -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