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
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Chromium GTK4
|
||||
Comment=Access the Internet
|
||||
GenericName=Web Browser
|
||||
Exec=/usr/bin/chromium-browser --gtk-version=4 %U
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=chromium-browser
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupWMClass=Chromium-browser
|
||||
Keywords=web;browser;internet;
|
||||
Actions=new-window;new-private-window;
|
||||
|
||||
X-Desktop-File-Install-Version=0.26
|
||||
|
||||
[Desktop Action new-window]
|
||||
Name=Open a New Window
|
||||
Exec=chromium-browser --gtk-version=4 %U
|
||||
|
||||
[Desktop Action new-private-window]
|
||||
Name=Open a New Private Window
|
||||
Exec=chromium-browser --incognito --gtk-version=4 %U
|
||||
Reference in New Issue
Block a user