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:
@@ -165,7 +165,7 @@ Plug 'mattn/emmet-vim'
|
||||
Plug 'tomtom/tcomment_vim' " Code commenting uncommenting
|
||||
Plug 'tpope/vim-surround' " quickly Insert/remove/change quote/brackes any vim selection.
|
||||
Plug 'harish2704/harish2704-vim' " My utilities to move widows around tabs
|
||||
Plug 'junegunn/fzf'
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
Plug 'junegunn/fzf.vim' " Ctrl-p Quick file search
|
||||
Plug 'wsdjeg/vim-fetch'
|
||||
Plug 'mbbill/undotree' " Visualize undo history
|
||||
|
||||
@@ -223,4 +223,4 @@ nmap <M-Q> :bd!<CR>
|
||||
vmap <C-h> "fy:%s#<C-r>f#
|
||||
" Copy current word to 'f' register, search for that word
|
||||
vmap <C-f> "fy/<C-r>f
|
||||
colorscheme elflord
|
||||
" colorscheme elflord
|
||||
|
||||
@@ -29,6 +29,8 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
output HDMI-A-1 resolution 1920x1080 position 0,0
|
||||
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
|
||||
@@ -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