mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
Compare commits
102
Commits
d2f4c2dc04
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d9c69f9402 | ||
|
|
17180fd76a | ||
|
|
f039924a13 | ||
|
|
d5ac4f54a1 | ||
|
|
a82f0372be | ||
|
|
fab64cc52e | ||
|
|
c784a78f19 | ||
|
|
c23fcf3dda | ||
|
|
c4e2a6d8ff | ||
|
|
4f21a56a1f | ||
|
|
30868d74f9 | ||
|
|
0c85b15303 | ||
|
|
236e611f02 | ||
|
|
23d982d2ff | ||
|
|
060912b1e5 | ||
|
|
00bc959a9b | ||
|
|
42fa5a0426 | ||
|
|
3fae61dfb7 | ||
|
|
2a0690319a | ||
|
|
491d6a090e | ||
|
|
56598f5170 | ||
|
|
bb193b5d92 | ||
|
|
d393de9c85 | ||
|
|
62eb9ce9e9 | ||
|
|
e7c43758ce | ||
|
|
7d30e2268b | ||
|
|
a86b7a52b3 | ||
|
|
51e8684012 | ||
|
|
ca39e5bc8e | ||
|
|
ad40802680 | ||
|
|
b1bd687f83 | ||
|
|
433cbb7c57 | ||
|
|
e4700bcfae | ||
|
|
b85c9e85f4 | ||
|
|
53600c45a9 | ||
|
|
b05417c993 | ||
|
|
f5ee533ab5 | ||
|
|
6dffd67295 | ||
|
|
95ed0a6d3e | ||
|
|
21476e1ee0 | ||
|
|
6f7fc253ff | ||
|
|
e15e028d22 | ||
|
|
0941df79fd | ||
|
|
6fa595df78 | ||
|
|
027bd37909 | ||
|
|
f9dcbb2736 | ||
|
|
d7e49b646c | ||
|
|
6dd3ed0b1c | ||
|
|
5b652223aa | ||
|
|
e89937e4b3 | ||
|
|
20bfe52f2e | ||
|
|
ba402cd254 | ||
|
|
b20aef6d9b | ||
|
|
3fbee04d57 | ||
|
|
23fcc5e74c | ||
|
|
79633dc2c8 | ||
|
|
6b1c42e3bb | ||
|
|
ac55743238 | ||
|
|
05bb1a04ce | ||
|
|
7534e7dc31 | ||
|
|
f7915452e9 | ||
|
|
8602e2c893 | ||
|
|
1e905030b4 | ||
|
|
1dbf687596 | ||
|
|
aca8316422 | ||
|
|
ac66a60f4a | ||
|
|
4e98d78b8d | ||
|
|
2f536ff4a4 | ||
|
|
398949e599 | ||
|
|
ff715cd9ac | ||
|
|
02b7972704 | ||
|
|
c3e9a96a44 | ||
|
|
9301e6e155 | ||
|
|
eb5f9824a6 | ||
|
|
cfc9025f83 | ||
|
|
e6ad0f75ea | ||
|
|
6f9609bb6f | ||
|
|
45186b5796 | ||
|
|
bad43a250c | ||
|
|
a3d259ca5f | ||
|
|
84e1e2ef45 | ||
|
|
2482cc5007 | ||
|
|
68d3c3c06a | ||
|
|
8eeb46e57e | ||
|
|
ab26261924 | ||
|
|
d5a31f833b | ||
|
|
04f4b43eb0 | ||
|
|
16a013293b | ||
|
|
3cb93f9f96 | ||
|
|
6687da63a1 | ||
|
|
6d0c9e7fd0 | ||
|
|
544641f800 | ||
|
|
55239d7801 | ||
|
|
2e6e0a997d | ||
|
|
9b816966a2 | ||
|
|
fd261114a0 | ||
|
|
9b74ed3e95 | ||
|
|
a5871c48e4 | ||
|
|
fb309b33fc | ||
|
|
e5dfab86bf | ||
|
|
35f878ed04 | ||
|
|
ce964b3b58 |
@@ -0,0 +1,5 @@
|
||||
home/.local/Apps/neovim-distros/lunarvim/cache
|
||||
home/.local/Apps/neovim-distros/lunarvim/share
|
||||
home/.local/Apps/neovim-distros/lunarvim/LunarVim
|
||||
home/.local/Apps/neovim-distros/LazyVim
|
||||
node_modules
|
||||
@@ -0,0 +1,3 @@
|
||||
[submodule "home/.local/Apps/neovim-distros/lunarvim/LunarVim"]
|
||||
path = home/.local/Apps/neovim-distros/lunarvim/LunarVim
|
||||
url = https://github.com/jukrb0x/LunarVim
|
||||
@@ -2,6 +2,10 @@ dotFiles
|
||||
========
|
||||
|
||||
My dot files
|
||||
## Usage
|
||||
```sh
|
||||
stow --ignore=.local/Apps/neovim-distros/lunarvim/share --ignore=.local/Apps/neovim-distros/lunarvim/cache -t $HOME home
|
||||
```
|
||||
## This includes
|
||||
* My openbox configuration files
|
||||
* my favorite keyboard-mappings
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
*TkTheme: clam
|
||||
@@ -1,8 +0,0 @@
|
||||
# .bash_profile
|
||||
|
||||
# Get the aliases and functions
|
||||
if [ -f ~/.bashrc ]; then
|
||||
. ~/.bashrc
|
||||
fi
|
||||
|
||||
# User specific environment and startup programs
|
||||
+54
-10
@@ -5,17 +5,61 @@ if [ -f /etc/bashrc ]; then
|
||||
. /etc/bashrc
|
||||
fi
|
||||
|
||||
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||
# export SYSTEMD_PAGER=
|
||||
|
||||
export PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
|
||||
if [[ -f /usr/share/fzf/shell/key-bindings.bash ]]; then
|
||||
. /usr/share/fzf/shell/key-bindings.bash
|
||||
fi
|
||||
|
||||
if [[ -f $HOME/.local/Apps/daily-utils/hari-autocomplete.sh ]]; then
|
||||
. $HOME/.local/Apps/daily-utils/hari-autocomplete.sh
|
||||
fi
|
||||
|
||||
# C_ORANGERED1="\[\e[38;5;202m\]"
|
||||
# C_DARKCYAN="\[\e[38;5;36m\]"
|
||||
# C_YELLOW="\[\e[38;5;11m\]"
|
||||
# C_CYAN1="\[\e[38;5;51m\]"
|
||||
# C_RED="\[\033[38;5;9m\]"
|
||||
|
||||
NO_FORMAT="\[\e[0m\]"
|
||||
F_BOLD="\[\e[1m\]"
|
||||
C_YELLOW1="\[\e[38;5;226m\]"
|
||||
C_AQUAMARINE1="\[\e[38;5;86m\]"
|
||||
PS1="${F_BOLD}${C_AQUAMARINE1}\u@\h${C_YELLOW1} \w \\\$${NO_FORMAT} "
|
||||
|
||||
# [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
|
||||
|
||||
export EDITOR=vim
|
||||
export HISTCONTROL=ignoredups
|
||||
export HISTSIZE=11000
|
||||
export HISTFILESIZE=11000
|
||||
|
||||
alias ip='ip --color=auto'
|
||||
|
||||
# export NVM_DIR="$HOME/.nvm"
|
||||
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
nvmLoad(){
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
#export PYENV_ROOT="$HOME/.pyenv"
|
||||
#[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
#eval "$(pyenv init -)"
|
||||
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
. "$HOME/.deno/env"
|
||||
source $HOME/.local/share/bash-completion/completions/deno.bash
|
||||
eval "$(~/.local/bin/mise activate bash)"
|
||||
|
||||
# PATH="$HOME/perl5/bin${PATH:+:${PATH}}"; export PATH;
|
||||
# PERL5LIB="$HOME/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB;
|
||||
# PERL_LOCAL_LIB_ROOT="$HOME/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT;
|
||||
# PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
|
||||
# PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
|
||||
|
||||
mycp(){
|
||||
mkdir -p "$(dirname "$2" )";
|
||||
cp "$1" "$2";
|
||||
}
|
||||
|
||||
export TIME_STYLE=long-iso
|
||||
. /usr/share/fzf/shell/key-bindings.bash
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
[font]
|
||||
size = 14.0
|
||||
|
||||
[font.normal]
|
||||
family = "CodeNewRoman Nerd Font Mono"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[13;2u"
|
||||
key = "Return"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[13;5u"
|
||||
key = "Return"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[13;6u"
|
||||
key = "Return"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[Z"
|
||||
key = "Tab"
|
||||
mods = "Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[27;5;9~"
|
||||
key = "Tab"
|
||||
mods = "Control"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[27;6;9~"
|
||||
key = "Tab"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[74;5u"
|
||||
key = "J"
|
||||
mods = "Control|Shift"
|
||||
|
||||
[[keyboard.bindings]]
|
||||
chars = "\u001B[75;5u"
|
||||
key = "K"
|
||||
mods = "Control|Shift"
|
||||
@@ -1,8 +1,8 @@
|
||||
font:
|
||||
size: 13.0
|
||||
size: 14.0
|
||||
normal:
|
||||
# family: Source Code Pro Medium
|
||||
family: DejaVuSansMono Nerd Font Mono
|
||||
family: CodeNewRoman Nerd Font Mono
|
||||
|
||||
key_bindings:
|
||||
- { key: Return, mods: Shift, chars: "\e[13;2u" }
|
||||
@@ -11,3 +11,6 @@ key_bindings:
|
||||
- { key: Tab, mods: Shift, chars: "\e[Z" }
|
||||
- { key: Tab, mods: Control, chars: "\e[27;5;9~" }
|
||||
- { key: Tab, mods: Control|Shift, chars: "\e[27;6;9~" }
|
||||
- { key: J, mods: Control|Shift, chars: "\x1b[74;5u" }
|
||||
- { key: K, mods: Control|Shift, chars: "\x1b[75;5u" }
|
||||
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=Gwibber
|
||||
X-GNOME-FullName=Gwibber Social Networking
|
||||
GenericName=Social Networking
|
||||
Comment=Update your microblog and view others' statuses
|
||||
Icon=gwibber
|
||||
Exec=gwibber-service
|
||||
OnlyShowIn=GNOME;Unity;
|
||||
AutostartCondition=GSettings org.gwibber.preferences autostart
|
||||
X-GNOME-Autostart-Delay=30
|
||||
NoDisplay=false
|
||||
X-GNOME-Autostart-enabled=false
|
||||
Hidden=true
|
||||
@@ -1,63 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name[pt]=Kupfer
|
||||
Name[sl]=Kupfer
|
||||
Name[cs]=Kupfer
|
||||
GenericName[cs]=Spouštěč aplikací
|
||||
Name[zh_CN]=Kupfer
|
||||
Name[es]=Kupfer
|
||||
GenericName[nb]=Programstarter
|
||||
GenericName[ko]=응용 프로그램 실행 아이콘
|
||||
GenericName[it]=Lanciatore di applicazioni
|
||||
Name[eu]=Kupfer
|
||||
Comment[nl]=Handige opdracht- en toegangshulp voor programma's en documenten
|
||||
Comment[da]=Nemt kommando- og adgangsværktøj til programmer og dokumenter
|
||||
Comment[pt]=Ferramenta conveniente para acesso e gestão de aplicações e documentos
|
||||
GenericName[fr]=Lanceur d'applications
|
||||
Comment[de]=Praktisches Befehls- und Zugriffswerkzeug für Anwendungen und Dokumente
|
||||
Type=Application
|
||||
X-GNOME-Autostart-enabled=true
|
||||
Name=Kupfer
|
||||
GenericName[da]=Programopstarter
|
||||
Name[nb]=Kupfer
|
||||
Exec=kupfer --no-splash
|
||||
GenericName[sl]=Zaganjalnik programov
|
||||
Name[ko]=쿠퍼
|
||||
Comment[es]=Herramienta para acceso y manejo de aplicaciones y documentos
|
||||
GenericName[de]=Anwendungsstarter
|
||||
GenericName[pl]=Aktywator programów
|
||||
Name[gl]=Kupfer
|
||||
Comment[sv]=Praktiskt kommandoprogram för åtkomst av program och dokument
|
||||
Comment[nb]=Praktiskt kommandoverktøy for programmer og dokumenter
|
||||
Comment[eu]=Komando eta atzipen tresna egokia aplikazio eta dokumentuentzat
|
||||
Icon=kupfer
|
||||
Name[sv]=Kupfer
|
||||
Comment[it]=Comodo comando e strumento di accesso per applicazioni e documenti
|
||||
GenericName[eu]=Aplikazioen abiarazlea
|
||||
GenericName[zh_CN]=程序启动器
|
||||
GenericName[es]=Lanzador de aplicaciones
|
||||
Name[tr]=Kupfer
|
||||
GenericName[tr]=Uygulama Çalıştırıcı
|
||||
GenericName=Application Launcher
|
||||
Comment[cs]=Nástroj pro pohodlné provádění příkazů a přístup k aplikacím a dokumentům
|
||||
Name[nl]=Kupfer
|
||||
Name[it]=Kupfer
|
||||
X-UserData=$CONFIG/kupfer;$DATA/kupfer;$CACHE/kupfer
|
||||
Comment[gl]=Ferramenta cómoda para controlar e acceder a aplicativos e documentos
|
||||
Name[pl]=Kupfer
|
||||
GenericName[sv]=Programstartare
|
||||
GenericName[gl]=Iniciador de aplicativos
|
||||
StartupNotify=true
|
||||
Comment=Convenient command and access tool for applications and documents
|
||||
Comment[pl]=Wygodne narzędzie do uruchamiania aplikacji i otwierania dokumentów
|
||||
Comment[sl]=Prikladno orodje za izvajanje ukazov in dostopa do programov in dokumentov
|
||||
Comment[zh_CN]=方便的命令和操作程序或文档的工具
|
||||
GenericName[nl]=Programmastarter
|
||||
Comment[ko]=편리하게 응용프로그램이나 문서에 접근하고 명령을 내릴 수 있는 도구
|
||||
Version=1.0
|
||||
Comment[fr]=Outil pratique de lancement et de contrôle d'applications et de documents
|
||||
Categories=Utility;
|
||||
Name[de]=Kupfer
|
||||
GenericName[pt]=Lançador de Aplicações
|
||||
Name[da]=Kupfer
|
||||
Name[fr]=Kupfer
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Ubuntu One
|
||||
Exec=/bin/sh -c '[ -d "$HOME/Ubuntu One" ] && ubuntuone-launch'
|
||||
Type=Application
|
||||
X-GNOME-Autostart-Delay=30
|
||||
Icon=ubuntuone
|
||||
Comment=
|
||||
NoDisplay=false
|
||||
X-Ubuntu-Gettext-Domain=ubuntuone-client
|
||||
X-GNOME-Autostart-enabled=false
|
||||
Hidden=true
|
||||
@@ -1,165 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Update Notifier
|
||||
Name[af]=Opdateringskennisgewing
|
||||
Name[am]=የማሻሻያ አሳሳቢ
|
||||
Name[an]=Notificador d'esvielles
|
||||
Name[ar]=مشعر التحديثات
|
||||
Name[ast]=Notificador d'anovamientos
|
||||
Name[be]=Паведамляльнік абнаўленьняў
|
||||
Name[bg]=Известяване за обновления
|
||||
Name[bn]=হালনাগাদ পর্যবেক্ষক
|
||||
Name[br]=Meziant da gemenn an hizivadurioù
|
||||
Name[bs]=Ukazivanje na nova unaprjeđenja
|
||||
Name[ca]=Gestor d'actualitzacions
|
||||
Name[ca@valencia]=Gestor d'actualitzacions
|
||||
Name[cs]=Oznamování aktualizací
|
||||
Name[csb]=Wiédzba ò aktualizacëjach
|
||||
Name[da]=Opdateringspåmindelse
|
||||
Name[de]=Aktualisierungsbenachrichtigung
|
||||
Name[el]=Ειδοποίηση ενημερώσεων
|
||||
Name[en_AU]=Update Notifier
|
||||
Name[en_CA]=Update Notifier
|
||||
Name[en_GB]=Update Notifier
|
||||
Name[eo]=Atentigilo pri ĝisdatigoj
|
||||
Name[es]=Notificador de actualizaciones
|
||||
Name[et]=Uuendustest teataja
|
||||
Name[eu]=Eguneratze berriemailea
|
||||
Name[fi]=Päivitysilmoitin
|
||||
Name[fo]=Frásøguforrit til dagføringar
|
||||
Name[fr]=Notificateur de mises à jour
|
||||
Name[fy]=Bywurkingmelder
|
||||
Name[gd]=Cuir fios air ùrachadh
|
||||
Name[gl]=Notificador de actualizacións
|
||||
Name[he]=מתריע העדכונים
|
||||
Name[hi]=अद्यतन अधिसूचक
|
||||
Name[hr]=Update Notifier
|
||||
Name[hu]=Frissítésfigyelő
|
||||
Name[id]=Pemberitahu Update
|
||||
Name[is]=Tilkynningar um uppfærslur
|
||||
Name[it]=Notifica aggiornamenti
|
||||
Name[ja]=アップデート通知
|
||||
Name[ka]=განახლებების მაცნე
|
||||
Name[kk]=Жаңартулар мәлімдемелері
|
||||
Name[km]=កម្មវិធីជូនដំណឹងបច្ចុប្បន្នភាព
|
||||
Name[ko]=업데이트 알리미
|
||||
Name[ku]=Hişyarkera Rojanekirinê
|
||||
Name[lt]=Atnaujinimų pranešiklis
|
||||
Name[lv]=Atjaunināšanu atgādinātājs
|
||||
Name[mn]=Шинэчлэл мэдээлэгч
|
||||
Name[mr]=नुतनीकरण दर्शक.
|
||||
Name[ms]=Pemaklum Kemaskini
|
||||
Name[my]=Update Notifier
|
||||
Name[nb]=Oppdateringsvarsler
|
||||
Name[nds]=Opfrischenhenwies
|
||||
Name[nl]=Updatemelder
|
||||
Name[nn]=Oppdateringsvarslar
|
||||
Name[oc]=Notificador de mesas a jorn
|
||||
Name[pa]=ਅੱਪਡੇਟ ਸੂਚਨਾ
|
||||
Name[pl]=Powiadamianie o aktualizacjach
|
||||
Name[pt]=Notificador de Actualizações
|
||||
Name[pt_BR]=Notificador de atualizações
|
||||
Name[ro]=Notificare actualizări
|
||||
Name[ru]=Оповещение об обновлениях
|
||||
Name[si]=යාවත්කාලින නිවේදකය
|
||||
Name[sk]=Upozornenie na aktualizácie
|
||||
Name[sl]=Obvestilnik o posodobitvah
|
||||
Name[sq]=Njoftuesi i Rifreskimeve
|
||||
Name[sr]=Обавештавач освежења
|
||||
Name[sv]=Uppdateringsnotifierare
|
||||
Name[ta]=புதுப்பிப்பு அறிவிப்பாளர்
|
||||
Name[te]=నవీకరణ-సూచిక
|
||||
Name[th]=โปรแกรมแจ้งเตือนการปรับปรุง
|
||||
Name[tr]=Güncelleştirme Bildiricisi
|
||||
Name[ug]=يېڭىلاش خەۋەرچىسى
|
||||
Name[uk]=Сповіщення про оновлення
|
||||
Name[vi]=Trình Nhắc nhở cập nhật
|
||||
Name[zh_CN]=更新提示
|
||||
Name[zh_HK]=更新通知程式
|
||||
Name[zh_TW]=更新通告
|
||||
Comment=Check for available updates automatically
|
||||
Comment[af]=Kontroleer automaties vir nuwe opdaterings
|
||||
Comment[an]=Comprebar automaticament os esvielles disponibles
|
||||
Comment[ar]=التمس التحديثات تلقائيا
|
||||
Comment[ast]=Comprobar automáticamente los anovamientos disponibles
|
||||
Comment[be]=Правяраць на даступнасьць абнаўленьняў аўтаматычна
|
||||
Comment[bg]=Автоматична проверка за налични актуализации
|
||||
Comment[bn]=স্বয়ংক্রিয়ভাবে নতুন হালনাগাদের জন্য খোঁজ করা হবে
|
||||
Comment[br]=Gwiriañ hizivadurioù hegerz emgefre
|
||||
Comment[bs]=Automatski provjeriti da li ima dostupnih unaprjeđenja
|
||||
Comment[ca]=Comprova si hi ha actualizacions disponibles automàticament.
|
||||
Comment[ca@valencia]=Comprova si hi ha actualizacions disponibles automàticament.
|
||||
Comment[cs]=Automaticky kontrolovat dostupné aktualizace
|
||||
Comment[csb]=Aùtomatné sprôwdzanié przëstãpnotë aktualizacëjów
|
||||
Comment[da]=Kontrollér automatisk for tilgængelige opdateringer
|
||||
Comment[de]=Automatisch nach verfügbaren Aktualisierungen suchen
|
||||
Comment[el]=Αυτόματος έλεγχος για ενημερώσεις
|
||||
Comment[en_AU]=Check for available updates automatically
|
||||
Comment[en_CA]=Check for available updates automatically
|
||||
Comment[en_GB]=Check for available updates automatically
|
||||
Comment[eo]=Aŭtomate kontroli pri disponeblaj ĝisdatigoj
|
||||
Comment[es]=Comprobar automáticamente las actualizaciones disponibles
|
||||
Comment[et]=Olemasolevate uuenduste automaatne kontroll
|
||||
Comment[eu]=Automatikoki bilatu eguneraketa berriak
|
||||
Comment[fi]=Tarkista saatavilla olevat päivitykset automaattisesti
|
||||
Comment[fo]=Kanna sjálvvirkandi eftir tøkum dagførslum
|
||||
Comment[fr]=Vérifier automatiquement la disponibilité de mises à jour
|
||||
Comment[gd]=Sgrùd son ùrachadh fèin-obrachail ri làimh
|
||||
Comment[gl]=Comprobar automaticamente as actualizacións dispoñíbeis
|
||||
Comment[he]=בדיקה אוטומטית אחר עדכונים
|
||||
Comment[hi]=स्वतः अद्यतन उपलब्धता हेतु जाँच
|
||||
Comment[hr]=Automatski provjeri za dostupne nadogradnje
|
||||
Comment[hu]=Frissítések keresése automatikusan
|
||||
Comment[id]=Periksa keberadaan pembaruan secara otomatis
|
||||
Comment[is]=Leita að uppfærslum sjálfkrafa
|
||||
Comment[it]=Controlla automaticamente la disponibilità di aggiornamenti
|
||||
Comment[ja]=利用可能なアップデートを自動的にチェックする
|
||||
Comment[ka]=განახლებებზე ავტომატური შემოწმება
|
||||
Comment[kk]=Жаңартулардың жетімдігін автоматты түрде тексеру
|
||||
Comment[km]=ពិនិត្យមើលបច្ចុប្បន្នភាពដែលមានដោយស្វ័យប្រវត្តិ
|
||||
Comment[ko]=자동으로 사용할 수 있는 업데이트 확인
|
||||
Comment[ku]=Bixweber li rojanekirinên amade bigere
|
||||
Comment[lt]=Ieškoti prieinamų atnaujinimų automatiškai
|
||||
Comment[lv]=Automātiski pārbaudīt pieejamos jauninājumus
|
||||
Comment[mn]=Идэвхитэй шинэчлэлийг автоматаар шалгах
|
||||
Comment[mr]=उपलब्ध अपडेट्स आपोआप शोधा.
|
||||
Comment[ms]=Periksa kemaskini yang sedia ada secara automatik.
|
||||
Comment[my]=ရရှိနိုင်သော Updates များကိုအလိုအလျောက်စစ်ဆေးမည်။
|
||||
Comment[nb]=Se etter tilgjengelige oppdateringer automatisk
|
||||
Comment[nds]=Nah verfögbaren Opfrischen vun alleen söken
|
||||
Comment[nl]=Automatisch op updates controleren
|
||||
Comment[nn]=Sjå etter tilgjengelege oppdateringar automatisk
|
||||
Comment[oc]=Verificar automaticament la disponibilitat de mesas a jorn
|
||||
Comment[pa]=ਉਪਲੱਬਧ ਅੱਪਡੇਟ ਲਈ ਆਟੋਮੈਟਿਕ ਹੀ ਚੈੱਕ ਕਰੋ
|
||||
Comment[pl]=Automatyczne sprawdzanie dostępności aktualizacji
|
||||
Comment[pt]=Verificar actualizações disponíveis automaticamente
|
||||
Comment[pt_BR]=Verificar automaticamente se há atualizações disponíveis
|
||||
Comment[ro]=Verifică automat actualizările disponibile
|
||||
Comment[ru]=Автоматически проверять наличие обновлений
|
||||
Comment[sd]=دستياب تازگيون پاڻمرادو چڪاسجن
|
||||
Comment[si]=ලබා ගත හැකි යාවත්කාලින සඳහා ස්වයංක්රීයව පරික්ෂා කරන්න
|
||||
Comment[sk]=Automaticky kontrolovať dostupné aktualizácie
|
||||
Comment[sl]=Samodejno preveri za posodobitve
|
||||
Comment[sq]=Kontrollo automatikisht për përditësimet e disponueshme
|
||||
Comment[sr]=Аутоматски провери да ли има доступних освежења
|
||||
Comment[sv]=Leta automatiskt efter tillgängliga uppdateringar
|
||||
Comment[te]=అందుబాటులోనున్న నవీకరణలను స్వయంచాలకంగా ప్రయత్నించు
|
||||
Comment[th]=ตรวจสอบการปรับปรุงที่ได้รับการอนุญาตโดยอัตโนมัติ
|
||||
Comment[tr]=Güncelleştirmeleri otomatik olarak denetle
|
||||
Comment[ug]=يېڭىلانمىلارنىڭ بار يوقلۇقىنى ئاپتوماتىك تەكشۈرسۇن
|
||||
Comment[uk]=Автоматично перевіряти наявність оновлень
|
||||
Comment[vi]=Tự động kiểm tra về các bản cập nhật đang có
|
||||
Comment[zh_CN]=自动检测可用的更新
|
||||
Comment[zh_HK]=自動檢查可用的更新
|
||||
Comment[zh_TW]=自動檢查更新
|
||||
Icon=update-notifier
|
||||
Exec=update-notifier
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=
|
||||
NotShowIn=KDE;
|
||||
NoDisplay=false
|
||||
X-GNOME-Autostart-Delay=60
|
||||
X-Ubuntu-Gettext-Domain=update-notifier
|
||||
X-GNOME-Autostart-enabled=false
|
||||
Hidden=true
|
||||
@@ -1,15 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Desktop Sharing
|
||||
Comment=GNOME Desktop Sharing Server
|
||||
Exec=/usr/lib/vino/vino-server --sm-disable
|
||||
Icon=preferences-desktop-remote-desktop
|
||||
OnlyShowIn=GNOME;Unity;
|
||||
Terminal=false
|
||||
Type=Application
|
||||
AutostartCondition=GSettings org.gnome.Vino enabled
|
||||
X-GNOME-Autostart-Phase=Applications
|
||||
X-GNOME-AutoRestart=true
|
||||
NoDisplay=false
|
||||
X-Ubuntu-Gettext-Domain=vino
|
||||
X-GNOME-Autostart-enabled=false
|
||||
Hidden=true
|
||||
@@ -0,0 +1,8 @@
|
||||
[containers]
|
||||
label=false
|
||||
|
||||
[network]
|
||||
# default_rootless_network_cmd = "pasta"
|
||||
# pasta_options = ["-t", "4080-4080:80-80"]
|
||||
# pasta_options = ["-a", "10.0.2.0", "-n", "24", "-g", "10.0.2.2", "--dns-forward", "10.0.2.3"]
|
||||
# pasta_options = [ "-I", "tap0", "--ipv4-only", "-a", "10.0.2.0", "-n", "24", "-g", "10.0.2.2", "--dns-forward", "10.0.2.3", "--no-ndp", "--no-dhcpv6", "--no-dhcp" ]
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
|
||||
<!-- SPDX-License-Identifier: MIT -->
|
||||
<fontconfig>
|
||||
<!-- Generic alias this font to sans-serif -->
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Noto Sans</family>
|
||||
<family>Noto Sans Malayalam</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<!-- For Malayalam sans-serif, prefer this font -->
|
||||
<!-- <match> -->
|
||||
<!-- <test compare="contains" name="lang"> -->
|
||||
<!-- <string>ml</string> -->
|
||||
<!-- </test> -->
|
||||
<!-- <test name="family"> -->
|
||||
<!-- <string>sans-serif</string> -->
|
||||
<!-- </test> -->
|
||||
<!-- <edit binding="strong" mode="prepend" name="family"> -->
|
||||
<!-- <string>Manjari</string> -->
|
||||
<!-- </edit> -->
|
||||
<!-- </match> -->
|
||||
</fontconfig>
|
||||
@@ -1,16 +1,14 @@
|
||||
[ActivityManager]
|
||||
_k_friendly_name=Activity Manager
|
||||
switch-to-activity-5631f9b9-eda6-43ff-826c-7cb51e8f26f5=none,none,Switch to activity "Default"
|
||||
switch-to-activity-acb90208-98fb-44c9-a0d0-ed2e3c67520c=none,none,Switch to activity "Default"
|
||||
|
||||
[KDE Keyboard Layout Switcher]
|
||||
Switch keyboard layout to English (India, with rupee)=none,none,Switch keyboard layout to English (India\\, with rupee)
|
||||
Switch to Next Keyboard Layout=Ctrl+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout
|
||||
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout
|
||||
Switch to Next Keyboard Layout=Meta+Alt+K,Meta+Alt+K,Switch to Next Keyboard Layout
|
||||
_k_friendly_name=Keyboard Layout Switcher
|
||||
|
||||
[im-chooser.desktop]
|
||||
_k_friendly_name=Input Method Selector
|
||||
_launch=none,none,Input Method Selector
|
||||
|
||||
[kaccess]
|
||||
Toggle Screen Reader On and Off=Meta+Alt+S,Meta+Alt+S,Toggle Screen Reader On and Off
|
||||
_k_friendly_name=Accessibility
|
||||
@@ -21,18 +19,11 @@ Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad
|
||||
Toggle Touchpad=Touchpad Toggle,Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,Toggle Touchpad
|
||||
_k_friendly_name=Touchpad
|
||||
|
||||
[kded5]
|
||||
Show System Activity=Ctrl+Esc,Ctrl+Esc,Show System Activity
|
||||
_k_friendly_name=KDE Daemon
|
||||
display=Display\tMeta+P,Display\tMeta+P,Switch Display
|
||||
|
||||
[khotkeys]
|
||||
_k_friendly_name=Custom Shortcuts Service
|
||||
{2b2f3d81-c5fb-49ee-832d-75aab6b21a1d}=Ctrl+Space,none,Ibus next eng
|
||||
{3c04e4ea-1f6e-430e-82bb-0e4adb79a6a3}=none,none,Scan
|
||||
{5d4c37a6-d8b3-40b0-aa6a-92f325302538}=none,none,Save Profile 1
|
||||
{81787487-f07d-4111-b1cf-9da1406075ca}=none,none,Load Profile 1
|
||||
{96759833-7730-4bd7-b4e7-d2c785658045}=Ctrl+Alt+T,none,Launch Konsole
|
||||
{96c0b3ae-9d0d-45dd-b275-c11c01424ff7}=none,none,Preview
|
||||
{9f894206-fbcf-48f1-9fb3-df9cec37bacb}=none,none,Load Profile 2
|
||||
{aaed7bc1-a7bc-4abc-b319-9b95abb5216b}=none,none,Cancel Scan
|
||||
@@ -42,28 +33,41 @@ _k_friendly_name=Custom Shortcuts Service
|
||||
_k_friendly_name=Audio Volume
|
||||
decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume
|
||||
decrease_volume=Volume Down,Volume Down,Decrease Volume
|
||||
decrease_volume_small=Shift+Volume Down,Shift+Volume Down,Decrease Volume by 1%
|
||||
increase_microphone_volume=Microphone Volume Up,Microphone Volume Up,Increase Microphone Volume
|
||||
increase_volume=Volume Up,Volume Up,Increase Volume
|
||||
increase_volume_small=Shift+Volume Up,Shift+Volume Up,Increase Volume by 1%
|
||||
mic_mute=Microphone Mute\tMeta+Volume Mute,Microphone Mute\tMeta+Volume Mute,Mute Microphone
|
||||
mute=Volume Mute,Volume Mute,Mute
|
||||
|
||||
[ksmserver]
|
||||
Halt Without Confirmation=none,,Halt Without Confirmation
|
||||
Halt Without Confirmation=none,,Shut Down Without Confirmation
|
||||
Lock Session=Meta+L\tCtrl+Alt+L\tScreensaver,Meta+L\tScreensaver,Lock Session
|
||||
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Log Out
|
||||
Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Screen
|
||||
Log Out Without Confirmation=none,,Log Out Without Confirmation
|
||||
LogOut=none,,Log Out
|
||||
Reboot=none,,Reboot
|
||||
Reboot Without Confirmation=none,,Reboot Without Confirmation
|
||||
Shut Down=none,,Shut Down
|
||||
_k_friendly_name=Session Management
|
||||
|
||||
[kwin]
|
||||
Activate Window Demanding Attention=Ctrl+Alt+A,Meta+Ctrl+A,Activate Window Demanding Attention
|
||||
Decrease Opacity=none,,Decrease Opacity of Active Window by 5 %
|
||||
Expose=Ctrl+F9,Ctrl+F9,Toggle Present Windows (Current desktop)
|
||||
ClearLastMouseMark=Meta+Shift+F12,Meta+Shift+F12,Clear Last Mouse Mark
|
||||
ClearMouseMarks=Meta+Shift+F11,Meta+Shift+F11,Clear All Mouse Marks
|
||||
Cycle Overview=none,none,Cycle through Overview and Grid View
|
||||
Cycle Overview Opposite=none,none,Cycle through Grid View and Overview
|
||||
Decrease Opacity=Meta+_,,Decrease Opacity of Active Window by 5%
|
||||
Edit Tiles=Meta+T,Meta+T,Toggle Tiles Editor
|
||||
Expose=none,Ctrl+F9,Toggle Present Windows (Current desktop)
|
||||
ExposeAll=Ctrl+F10\tLaunch (C),Ctrl+F10\tLaunch (C),Toggle Present Windows (All desktops)
|
||||
ExposeClass=Ctrl+F7,Ctrl+F7,Toggle Present Windows (Window class)
|
||||
Increase Opacity=none,,Increase Opacity of Active Window by 5 %
|
||||
Invert Screen Colors=none,,Invert Screen Colors
|
||||
ExposeClassCurrentDesktop=none,none,Toggle Present Windows (Window class on current desktop)
|
||||
Grid View=Meta+G,Meta+G,Toggle Grid View
|
||||
Increase Opacity=Meta++,,Increase Opacity of Active Window by 5%
|
||||
Invert Screen Colors=none,none,Invert Screen Colors
|
||||
Kill Window=Ctrl+Alt+Esc,Meta+Ctrl+Esc,Kill Window
|
||||
Move Tablet to Next Output=none,none,Move the tablet to the next output
|
||||
MoveMouseToCenter=Meta+F6,Meta+F6,Move Mouse to Center
|
||||
MoveMouseToFocus=Meta+F5,Meta+F5,Move Mouse to Focus
|
||||
MoveZoomDown=none,none,Move Zoomed Area Downwards
|
||||
@@ -72,8 +76,7 @@ MoveZoomRight=none,none,Move Zoomed Area to Right
|
||||
MoveZoomUp=none,none,Move Zoomed Area Upwards
|
||||
Overview=Meta+W,Meta+W,Toggle Overview
|
||||
Setup Window Shortcut=none,,Setup Window Shortcut
|
||||
Show Desktop=Meta+D,Meta+D,Show Desktop
|
||||
ShowDesktopGrid=Ctrl+F8,Meta+F8,Show Desktop Grid
|
||||
Show Desktop=Meta+D,Meta+D,Peek at Desktop
|
||||
Suspend Compositing=Alt+Shift+F12,Alt+Shift+F12,Suspend Compositing
|
||||
Switch One Desktop Down=Ctrl+Alt+Down,Meta+Ctrl+Down,Switch One Desktop Down
|
||||
Switch One Desktop Up=Ctrl+Alt+Up,Meta+Ctrl+Up,Switch One Desktop Up
|
||||
@@ -115,14 +118,14 @@ Switch to Screen 4=none,,Switch to Screen 4
|
||||
Switch to Screen 5=none,,Switch to Screen 5
|
||||
Switch to Screen 6=none,,Switch to Screen 6
|
||||
Switch to Screen 7=none,,Switch to Screen 7
|
||||
Toggle Night Color=none,none,Toggle Night Color
|
||||
Switch to Screen Above=none,,Switch to Screen Above
|
||||
Switch to Screen Below=none,,Switch to Screen Below
|
||||
Switch to Screen to the Left=none,,Switch to Screen to the Left
|
||||
Switch to Screen to the Right=none,,Switch to Screen to the Right
|
||||
Toggle Night Color=none,none,Suspend/Resume Night Light
|
||||
Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower
|
||||
Walk Through Desktop List=none,,Walk Through Desktop List
|
||||
Walk Through Desktop List (Reverse)=none,,Walk Through Desktop List (Reverse)
|
||||
Walk Through Desktops=none,,Walk Through Desktops
|
||||
Walk Through Desktops (Reverse)=none,,Walk Through Desktops (Reverse)
|
||||
Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows
|
||||
Walk Through Windows (Reverse)=Alt+Shift+Backtab,Alt+Shift+Backtab,Walk Through Windows (Reverse)
|
||||
Walk Through Windows (Reverse)=Alt+Shift+Backtab,Alt+Shift+Tab,Walk Through Windows (Reverse)
|
||||
Walk Through Windows Alternative=none,,Walk Through Windows Alternative
|
||||
Walk Through Windows Alternative (Reverse)=none,,Walk Through Windows Alternative (Reverse)
|
||||
Walk Through Windows of Current Application=Alt+`,Alt+`,Walk Through Windows of Current Application
|
||||
@@ -132,6 +135,10 @@ Walk Through Windows of Current Application Alternative (Reverse)=none,,Walk Thr
|
||||
Window Above Other Windows=none,,Keep Window Above Others
|
||||
Window Below Other Windows=none,,Keep Window Below Others
|
||||
Window Close=Alt+F4,Alt+F4,Close Window
|
||||
Window Custom Quick Tile Bottom=none,,Custom Quick Tile Window to the Bottom
|
||||
Window Custom Quick Tile Left=none,,Custom Quick Tile Window to the Left
|
||||
Window Custom Quick Tile Right=none,,Custom Quick Tile Window to the Right
|
||||
Window Custom Quick Tile Top=none,,Custom Quick Tile Window to the Top
|
||||
Window Fullscreen=Ctrl+F11,,Make Window Fullscreen
|
||||
Window Grow Horizontal=none,,Expand Window Horizontally
|
||||
Window Grow Vertical=none,,Expand Window Vertically
|
||||
@@ -140,14 +147,18 @@ Window Maximize=Meta+PgUp,Meta+PgUp,Maximize Window
|
||||
Window Maximize Horizontal=none,,Maximize Window Horizontally
|
||||
Window Maximize Vertical=none,,Maximize Window Vertically
|
||||
Window Minimize=Meta+PgDown,Meta+PgDown,Minimize Window
|
||||
Window Move=none,,Move Window
|
||||
Window Move=F6,,Move Window
|
||||
Window Move Center=none,,Move Window to the Center
|
||||
Window No Border=none,,Hide Window Border
|
||||
Window No Border=none,,Toggle Window Titlebar and Frame
|
||||
Window On All Desktops=none,,Keep Window on All Desktops
|
||||
Window One Desktop Down=Ctrl+Alt+Shift+Down,Meta+Ctrl+Shift+Down,Window One Desktop Down
|
||||
Window One Desktop Up=Ctrl+Alt+Shift+Up,Meta+Ctrl+Shift+Up,Window One Desktop Up
|
||||
Window One Desktop to the Left=Ctrl+Alt+Shift+Left,Meta+Ctrl+Shift+Left,Window One Desktop to the Left
|
||||
Window One Desktop to the Right=Ctrl+Alt+Shift+Right,Meta+Ctrl+Shift+Right,Window One Desktop to the Right
|
||||
Window One Screen Down=none,,Move Window One Screen Down
|
||||
Window One Screen Up=none,,Move Window One Screen Up
|
||||
Window One Screen to the Left=none,,Move Window One Screen to the Left
|
||||
Window One Screen to the Right=none,,Move Window One Screen to the Right
|
||||
Window Operations Menu=Alt+F3,Alt+F3,Window Operations Menu
|
||||
Window Pack Down=none,,Move Window Down
|
||||
Window Pack Left=none,,Move Window Left
|
||||
@@ -187,20 +198,21 @@ Window to Desktop 7=none,,Window to Desktop 7
|
||||
Window to Desktop 8=none,,Window to Desktop 8
|
||||
Window to Desktop 9=none,,Window to Desktop 9
|
||||
Window to Next Desktop=none,,Window to Next Desktop
|
||||
Window to Next Screen=Meta+Shift+Right,Meta+Shift+Right,Window to Next Screen
|
||||
Window to Next Screen=Meta+Shift+Right,Meta+Shift+Right,Move Window to Next Screen
|
||||
Window to Previous Desktop=none,,Window to Previous Desktop
|
||||
Window to Previous Screen=Meta+Shift+Left,Meta+Shift+Left,Window to Previous Screen
|
||||
Window to Screen 0=none,,Window to Screen 0
|
||||
Window to Screen 1=none,,Window to Screen 1
|
||||
Window to Screen 2=none,,Window to Screen 2
|
||||
Window to Screen 3=none,,Window to Screen 3
|
||||
Window to Screen 4=none,,Window to Screen 4
|
||||
Window to Screen 5=none,,Window to Screen 5
|
||||
Window to Screen 6=none,,Window to Screen 6
|
||||
Window to Screen 7=none,,Window to Screen 7
|
||||
Window to Previous Screen=Meta+Shift+Left,Meta+Shift+Left,Move Window to Previous Screen
|
||||
Window to Screen 0=none,,Move Window to Screen 0
|
||||
Window to Screen 1=none,,Move Window to Screen 1
|
||||
Window to Screen 2=none,,Move Window to Screen 2
|
||||
Window to Screen 3=none,,Move Window to Screen 3
|
||||
Window to Screen 4=none,,Move Window to Screen 4
|
||||
Window to Screen 5=none,,Move Window to Screen 5
|
||||
Window to Screen 6=none,,Move Window to Screen 6
|
||||
Window to Screen 7=none,,Move Window to Screen 7
|
||||
_k_friendly_name=KWin
|
||||
disableInputCapture=Meta+Shift+Esc,Meta+Shift+Esc,Disable Active Input Capture
|
||||
view_actual_size=Meta+0,Meta+0,Zoom to Actual Size
|
||||
view_zoom_in=Meta+=,Meta+=,Zoom In
|
||||
view_zoom_in=Meta+=,Meta++\tMeta+=,Zoom In
|
||||
view_zoom_out=Meta+-,Meta+-,Zoom Out
|
||||
|
||||
[mediacontrol]
|
||||
@@ -214,57 +226,27 @@ playpausemedia=Media Play,Media Play,Play/Pause media playback
|
||||
previousmedia=Media Previous,Media Previous,Media playback previous
|
||||
stopmedia=Media Stop,Media Stop,Stop media playback
|
||||
|
||||
[nvim.desktop]
|
||||
_k_friendly_name=Neovim
|
||||
_launch=none,none,Neovim
|
||||
|
||||
[org.flameshot.Flameshot.desktop]
|
||||
Capture=Ctrl+Shift+Print,none,Take screenshot
|
||||
Configure=none,none,Configure
|
||||
Launcher=none,none,Open launcher
|
||||
_k_friendly_name=Flameshot
|
||||
_launch=none,none,Flameshot
|
||||
|
||||
[org.kde.dolphin.desktop]
|
||||
_k_friendly_name=Dolphin
|
||||
_launch=Meta+E,Meta+E,Dolphin
|
||||
|
||||
[org.kde.krunner.desktop]
|
||||
RunClipboard=Alt+Shift+F2,Alt+Shift+F2,Run command on clipboard contents
|
||||
_k_friendly_name=KRunner
|
||||
_launch=Alt+Space\tAlt+F2\tSearch,Alt+Space\tAlt+F2\tSearch,KRunner
|
||||
|
||||
[org.kde.plasma.emojier.desktop]
|
||||
_k_friendly_name=Emoji Selector
|
||||
_launch=Meta+.,Meta+.,Emoji Selector
|
||||
|
||||
[org.kde.spectacle.desktop]
|
||||
ActiveWindowScreenShot=none,Meta+Print,Capture Active Window
|
||||
CurrentMonitorScreenShot=Print,none,Capture Current Monitor
|
||||
FullScreenScreenShot=Shift+Print,Shift+Print,Capture Entire Desktop
|
||||
OpenWithoutScreenshot=none,none,Launch Spectacle without capturing
|
||||
RectangularRegionScreenShot=none,Meta+Shift+Print,Capture Rectangular Region
|
||||
WindowUnderCursorScreenShot=Meta+Ctrl+Print,Meta+Ctrl+Print,Capture Window Under Cursor
|
||||
_k_friendly_name=Spectacle
|
||||
_launch=none,Print,Launch Spectacle
|
||||
|
||||
[org_kde_powerdevil]
|
||||
Decrease Keyboard Brightness=Keyboard Brightness Down,Keyboard Brightness Down,Decrease Keyboard Brightness
|
||||
Decrease Screen Brightness=Monitor Brightness Down,Monitor Brightness Down,Decrease Screen Brightness
|
||||
Decrease Screen Brightness Small=Shift+Monitor Brightness Down,Shift+Monitor Brightness Down,Decrease Screen Brightness by 1%
|
||||
Hibernate=Hibernate,Hibernate,Hibernate
|
||||
Increase Keyboard Brightness=Keyboard Brightness Up,Keyboard Brightness Up,Increase Keyboard Brightness
|
||||
Increase Screen Brightness=Monitor Brightness Up,Monitor Brightness Up,Increase Screen Brightness
|
||||
Increase Screen Brightness Small=Shift+Monitor Brightness Up,Shift+Monitor Brightness Up,Increase Screen Brightness by 1%
|
||||
PowerDown=Power Down,Power Down,Power Down
|
||||
PowerOff=Power Off,Power Off,Power Off
|
||||
Sleep=Sleep,Sleep,Suspend
|
||||
Toggle Keyboard Backlight=Keyboard Light On/Off,Keyboard Light On/Off,Toggle Keyboard Backlight
|
||||
Turn Off Screen=none,none,Turn Off Screen
|
||||
_k_friendly_name=Power Management
|
||||
powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile
|
||||
|
||||
[plasmashell]
|
||||
_k_friendly_name=Plasma
|
||||
_k_friendly_name=plasmashell
|
||||
activate application launcher=Meta,Meta\tAlt+F1,Activate Application Launcher
|
||||
activate task manager entry 1=Meta+1,Meta+1,Activate Task Manager Entry 1
|
||||
activate task manager entry 10=none,Meta+0,Activate Task Manager Entry 10
|
||||
activate task manager entry 10=none,,Activate Task Manager Entry 10
|
||||
activate task manager entry 2=Meta+2,Meta+2,Activate Task Manager Entry 2
|
||||
activate task manager entry 3=Meta+3,Meta+3,Activate Task Manager Entry 3
|
||||
activate task manager entry 4=Meta+4,Meta+4,Activate Task Manager Entry 4
|
||||
@@ -274,7 +256,9 @@ activate task manager entry 7=Meta+7,Meta+7,Activate Task Manager Entry 7
|
||||
activate task manager entry 8=Meta+8,Meta+8,Activate Task Manager Entry 8
|
||||
activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9
|
||||
activate widget 27=none,none,Activate Task Manager Widget
|
||||
activate widget 3=Meta+F12,none,Activate Panel Widget
|
||||
activate widget 4=Alt+F1,none,Activate Application Launcher Widget
|
||||
activate widget 69=none,none,Activate Digital Clock Widget
|
||||
clear-history=none,none,Clear Clipboard History
|
||||
clipboard_action=Ctrl+Alt+X,Meta+Ctrl+X,Automatic Action Popup Menu
|
||||
cycle-panels=Meta+Alt+P,Meta+Alt+P,Move keyboard focus between panels
|
||||
@@ -282,8 +266,8 @@ cycleNextAction=none,none,Next History Item
|
||||
cyclePrevAction=none,none,Previous History Item
|
||||
edit_clipboard=none,none,Edit Contents…
|
||||
manage activities=Meta+Q,Meta+Q,Show Activity Switcher
|
||||
next activity=Meta+Tab,Meta+Tab,Walk through activities
|
||||
previous activity=Meta+Shift+Tab,Meta+Shift+Tab,Walk through activities (Reverse)
|
||||
next activity=Meta+A,none,Walk through activities
|
||||
previous activity=Meta+Shift+A,none,Walk through activities (Reverse)
|
||||
repeat_action=Ctrl+Alt+R,Meta+Ctrl+R,Manually Invoke Action on Current Clipboard
|
||||
show dashboard=Ctrl+F12,Ctrl+F12,Show Desktop
|
||||
show-barcode=none,none,Show Barcode…
|
||||
@@ -293,14 +277,22 @@ switch to next activity=none,,Switch to Next Activity
|
||||
switch to previous activity=none,,Switch to Previous Activity
|
||||
toggle do not disturb=none,,Toggle do not disturb
|
||||
|
||||
[systemsettings.desktop]
|
||||
_k_friendly_name=System Settings
|
||||
_launch=Tools,Tools,System Settings
|
||||
kcm-kscreen=none,none,Display Configuration
|
||||
kcm-lookandfeel=none,none,Global Theme
|
||||
kcm-users=none,none,Users
|
||||
powerdevilprofilesconfig=none,none,Energy Saving
|
||||
screenlocker=none,none,Screen Locking
|
||||
[services][net.local.ibus-next-engine.py.desktop]
|
||||
_launch=Ctrl+Space
|
||||
|
||||
[services][org.flameshot.Flameshot.desktop]
|
||||
Capture=Ctrl+Shift+Print
|
||||
|
||||
[services][org.kde.krunner.desktop]
|
||||
_launch=Alt+F2\tAlt+Space
|
||||
|
||||
[services][org.kde.spectacle.desktop]
|
||||
ActiveWindowScreenShot=none
|
||||
FullScreenScreenShot=none
|
||||
RecordRegion=Meta+Shift+R
|
||||
RecordScreen=none
|
||||
RecordWindow=none
|
||||
_launch=none
|
||||
|
||||
[wacomtablet]
|
||||
Map to fullscreen=Meta+Ctrl+F,Meta+Ctrl+F,Map to fullscreen
|
||||
|
||||
+6
-66
@@ -1,5 +1,5 @@
|
||||
[$Version]
|
||||
update_info=spectacle_shortcuts.upd:spectacle-migrate-shortcuts
|
||||
update_info=spectacle_shortcuts.upd:spectacle-migrate-shortcuts,konsole_globalaccel.upd:konsole_globalaccel,konsole.upd:konsole_globalaccel
|
||||
|
||||
[ColorEffects:Disabled]
|
||||
ChangeSelectionColor[$d]
|
||||
@@ -140,7 +140,7 @@ DataCount=5
|
||||
|
||||
[Data_1]
|
||||
Comment=KMenuEdit Global Shortcuts
|
||||
DataCount=2
|
||||
DataCount=1
|
||||
Enabled=true
|
||||
Name=KMenuEdit
|
||||
SystemGroup=1
|
||||
@@ -176,32 +176,6 @@ Key=
|
||||
Type=SHORTCUT
|
||||
Uuid={d03619b6-9b3c-48cc-9d9c-a2aadb485550}
|
||||
|
||||
[Data_1_2]
|
||||
Comment=Global keyboard shortcut to launch Konsole
|
||||
Enabled=true
|
||||
Name=Launch Konsole
|
||||
Type=MENUENTRY_SHORTCUT_ACTION_DATA
|
||||
|
||||
[Data_1_2Actions]
|
||||
ActionsCount=1
|
||||
|
||||
[Data_1_2Actions0]
|
||||
CommandURL=org.kde.konsole.desktop
|
||||
Type=MENUENTRY
|
||||
|
||||
[Data_1_2Conditions]
|
||||
Comment=
|
||||
ConditionsCount=0
|
||||
|
||||
[Data_1_2Triggers]
|
||||
Comment=Simple_action
|
||||
TriggersCount=1
|
||||
|
||||
[Data_1_2Triggers0]
|
||||
Key=Ctrl+Alt+T
|
||||
Type=SHORTCUT
|
||||
Uuid={96759833-7730-4bd7-b4e7-d2c785658045}
|
||||
|
||||
[Data_2]
|
||||
Comment=This group contains various examples demonstrating most of the features of KHotkeys. (Note that this group and all its actions are disabled by default.)
|
||||
DataCount=8
|
||||
@@ -1019,44 +993,6 @@ TriggersCount=1
|
||||
GesturePointData=0,0.0625,-0.5,0.5,1,0.0625,0.0625,-0.5,0.5,0.875,0.125,0.0625,-0.5,0.5,0.75,0.1875,0.0625,-0.5,0.5,0.625,0.25,0.0625,-0.5,0.5,0.5,0.3125,0.0625,-0.5,0.5,0.375,0.375,0.0625,-0.5,0.5,0.25,0.4375,0.0625,-0.5,0.5,0.125,0.5,0.0625,0.5,0.5,0,0.5625,0.0625,0.5,0.5,0.125,0.625,0.0625,0.5,0.5,0.25,0.6875,0.0625,0.5,0.5,0.375,0.75,0.0625,0.5,0.5,0.5,0.8125,0.0625,0.5,0.5,0.625,0.875,0.0625,0.5,0.5,0.75,0.9375,0.0625,0.5,0.5,0.875,1,0,0,0.5,1
|
||||
Type=GESTURE
|
||||
|
||||
[Data_4]
|
||||
Comment=Comment
|
||||
DataCount=1
|
||||
Enabled=true
|
||||
Name=Hari-custom
|
||||
SystemGroup=0
|
||||
Type=ACTION_DATA_GROUP
|
||||
|
||||
[Data_4Conditions]
|
||||
Comment=
|
||||
ConditionsCount=0
|
||||
|
||||
[Data_4_1]
|
||||
Comment=Ibus next engine
|
||||
Enabled=true
|
||||
Name=Ibus next eng
|
||||
Type=SIMPLE_ACTION_DATA
|
||||
|
||||
[Data_4_1Actions]
|
||||
ActionsCount=1
|
||||
|
||||
[Data_4_1Actions0]
|
||||
CommandURL=/home/harish/.local/Apps/daily-utils/bin/ibus-next-engine.py
|
||||
Type=COMMAND_URL
|
||||
|
||||
[Data_4_1Conditions]
|
||||
Comment=
|
||||
ConditionsCount=0
|
||||
|
||||
[Data_4_1Triggers]
|
||||
Comment=Simple_action
|
||||
TriggersCount=1
|
||||
|
||||
[Data_4_1Triggers0]
|
||||
Key=Ctrl+Space
|
||||
Type=SHORTCUT
|
||||
Uuid={2b2f3d81-c5fb-49ee-832d-75aab6b21a1d}
|
||||
|
||||
[Data_5]
|
||||
Comment=Shortcuts for Skanlite
|
||||
DataCount=7
|
||||
@@ -1273,6 +1209,10 @@ Key=
|
||||
Type=SHORTCUT
|
||||
Uuid={96c0b3ae-9d0d-45dd-b275-c11c01424ff7}
|
||||
|
||||
[DirSelect Dialog]
|
||||
DirSelectDialog Size[$d]
|
||||
History Items[$d]
|
||||
|
||||
[General]
|
||||
AccentColor[$d]
|
||||
BrowserApplication[$d]
|
||||
|
||||
+95
-10
@@ -1,12 +1,22 @@
|
||||
[$Version]
|
||||
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup
|
||||
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup,kwin.upd:replace-cascaded-zerocornered
|
||||
|
||||
[Activities][LastVirtualDesktop]
|
||||
5631f9b9-eda6-43ff-826c-7cb51e8f26f5=84ef5d92-b39b-4f01-b593-76799daa2ce0
|
||||
|
||||
[Compositing]
|
||||
GLTextureFilter=1
|
||||
LatencyPolicy=Medium
|
||||
OpenGLIsUnsafe=false
|
||||
|
||||
[Desktops]
|
||||
Id_1=530b2e8c-a321-41ca-ba52-2fba5b5e2f52
|
||||
Id_10=af9aa3e6-6382-4ccb-a92d-800b0b1f74a7
|
||||
Id_11=7aaace88-9ee2-43c0-844c-19c5514523d3
|
||||
Id_12=63c876d8-76e7-4a8b-9903-7b30d31363e2
|
||||
Id_13=092794f6-c66a-4fc1-a45f-3d785a9ef4e8
|
||||
Id_14=1165984d-098d-4983-8f5d-dcb4c82981c4
|
||||
Id_15=21eb75c5-52fe-4e36-9ab1-f1371025d8f4
|
||||
Id_2=76ffaa94-4f73-4520-a3e0-480eb3fa4d87
|
||||
Id_3=84ef5d92-b39b-4f01-b593-76799daa2ce0
|
||||
Id_4=5fe31393-808e-4747-8bfe-9a4df1075a59
|
||||
@@ -15,15 +25,22 @@ Id_6=0259dad0-c996-46c7-b8a1-364756a779ed
|
||||
Id_7=fc82803a-f727-408a-aa1f-84e76c11c1cf
|
||||
Id_8=a52131ec-edac-4001-965f-ce878e73377e
|
||||
Id_9=2feaf12f-0461-4372-8878-fdf5f282aec0
|
||||
Name_2=New Desktop
|
||||
Name_3=New Desktop
|
||||
Name_4=New Desktop
|
||||
Name_5=New Desktop
|
||||
Name_6=New Desktop
|
||||
Name_7=New Desktop
|
||||
Name_8=New Desktop
|
||||
Name_9=New Desktop
|
||||
Number=9
|
||||
Name_1=D1
|
||||
Name_10=D10
|
||||
Name_11=D11
|
||||
Name_12=D12
|
||||
Name_13=D13
|
||||
Name_14=D14
|
||||
Name_15=D15
|
||||
Name_2=D2
|
||||
Name_3=D3
|
||||
Name_4=D4
|
||||
Name_5=D5
|
||||
Name_6=D6
|
||||
Name_7=D7
|
||||
Name_8=D8
|
||||
Name_9=D9
|
||||
Number=15
|
||||
Rows=3
|
||||
|
||||
[NightColor]
|
||||
@@ -39,5 +56,73 @@ desktopchangeosdEnabled=true
|
||||
[Script-desktopchangeosd]
|
||||
PopupHideDelay=200
|
||||
|
||||
[Tiling]
|
||||
padding=4
|
||||
|
||||
[Tiling][0d39903c-8966-51c1-b3a1-c3ebda3dc7d0]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][31d42160-070b-554b-b196-ee308d3a8430]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][37c04cea-60e5-572b-8cdf-0edec2e3e650]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][439e5ff6-4113-5e1f-9343-637ddef82008]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][4b32c1ec-cf2f-5157-9ba6-70191f308af7]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][4f220735-699f-553f-a72e-7a926d3f0774]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][5ff9608b-9606-5820-afce-f307ffff35eb]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][620b6d4f-c2c0-5dcb-abfb-a14e98a46430]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][6b9c3fe7-c68b-52f5-ace8-17b337127e5e]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][a149f44c-18c8-54d9-bea5-8d58d841af49]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][a3d991e5-e4d6-5b87-b0c7-d6949c612be9]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][bc2a8622-43e1-5de4-9a5d-521e479edee4]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][c8c8a1aa-ae6b-5caf-85b7-76aff40574b4]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][cb363ef7-affc-5675-a490-30c1baa9ff75]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][ccd244ca-5575-569f-a8c9-ce17c79b0288]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][d02c035d-eef0-5c68-aa2f-2e83d0ba08b1]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][e0ede2ad-3993-5f06-892f-6edfc85dc7f2]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Tiling][ecc5d445-b642-5d22-991f-6423e65b585e]
|
||||
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}
|
||||
|
||||
[Wayland]
|
||||
InputMethod[$e]=/usr/share/applications/org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop
|
||||
VirtualKeyboardEnabled=true
|
||||
|
||||
[Windows]
|
||||
RollOverDesktops=false
|
||||
|
||||
[Xwayland]
|
||||
Scale=1
|
||||
|
||||
[org.kde.kdecoration2]
|
||||
library=org.kde.breeze
|
||||
theme=Breeze
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
" Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
|
||||
"
|
||||
" " On-demand loading
|
||||
" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
" Plug 'preservim/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
" Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
|
||||
"
|
||||
" " Using a non-default branch
|
||||
@@ -242,6 +242,8 @@ function! plug#begin(...)
|
||||
let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p'))
|
||||
elseif exists('g:plug_home')
|
||||
let home = s:path(g:plug_home)
|
||||
elseif has('nvim')
|
||||
let home = stdpath('data') . '/plugged'
|
||||
elseif !empty(&rtp)
|
||||
let home = s:path(split(&rtp, ',')[0]) . '/plugged'
|
||||
else
|
||||
@@ -350,7 +352,7 @@ function! plug#end()
|
||||
endif
|
||||
let lod = { 'ft': {}, 'map': {}, 'cmd': {} }
|
||||
|
||||
if exists('g:did_load_filetypes')
|
||||
if get(g:, 'did_load_filetypes', 0)
|
||||
filetype off
|
||||
endif
|
||||
for name in g:plugs_order
|
||||
@@ -405,7 +407,7 @@ function! plug#end()
|
||||
|
||||
for [map, names] in items(lod.map)
|
||||
for [mode, map_prefix, key_prefix] in
|
||||
\ [['i', '<C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
|
||||
\ [['i', '<C-\><C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
|
||||
execute printf(
|
||||
\ '%snoremap <silent> %s %s:<C-U>call <SID>lod_map(%s, %s, %s, "%s")<CR>',
|
||||
\ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix)
|
||||
@@ -1208,7 +1210,8 @@ function! s:update_impl(pull, force, args) abort
|
||||
normal! 2G
|
||||
silent! redraw
|
||||
|
||||
let s:clone_opt = []
|
||||
" Set remote name, overriding a possible user git config's clone.defaultRemoteName
|
||||
let s:clone_opt = ['--origin', 'origin']
|
||||
if get(g:, 'plug_shallow', 1)
|
||||
call extend(s:clone_opt, ['--depth', '1'])
|
||||
if s:git_version_requirement(1, 7, 10)
|
||||
@@ -2618,26 +2621,34 @@ function! s:preview_commit()
|
||||
|
||||
let sha = matchstr(getline('.'), '^ \X*\zs[0-9a-f]\{7,9}')
|
||||
if empty(sha)
|
||||
let name = matchstr(getline('.'), '^- \zs[^:]*\ze:$')
|
||||
if empty(name)
|
||||
return
|
||||
endif
|
||||
|
||||
let title = 'HEAD@{1}..'
|
||||
let command = 'git diff --no-color HEAD@{1}'
|
||||
else
|
||||
let title = sha
|
||||
let command = 'git show --no-color --pretty=medium '.sha
|
||||
let name = s:find_name(line('.'))
|
||||
endif
|
||||
|
||||
if empty(name) || !has_key(g:plugs, name) || !isdirectory(g:plugs[name].dir)
|
||||
return
|
||||
endif
|
||||
|
||||
if exists('g:plug_pwindow') && !s:is_preview_window_open()
|
||||
execute g:plug_pwindow
|
||||
execute 'e' sha
|
||||
execute 'e' title
|
||||
else
|
||||
execute 'pedit' sha
|
||||
execute 'pedit' title
|
||||
wincmd P
|
||||
endif
|
||||
setlocal previewwindow filetype=git buftype=nofile nobuflisted modifiable
|
||||
setlocal previewwindow filetype=git buftype=nofile bufhidden=wipe nobuflisted modifiable
|
||||
let batchfile = ''
|
||||
try
|
||||
let [sh, shellcmdflag, shrd] = s:chsh(1)
|
||||
let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && git show --no-color --pretty=medium '.sha
|
||||
let cmd = 'cd '.plug#shellescape(g:plugs[name].dir).' && '.command
|
||||
if s:is_win
|
||||
let [batchfile, cmd] = s:batchfile(cmd)
|
||||
endif
|
||||
@@ -2763,9 +2774,9 @@ function! s:snapshot(force, ...) abort
|
||||
1
|
||||
let anchor = line('$') - 3
|
||||
let names = sort(keys(filter(copy(g:plugs),
|
||||
\'has_key(v:val, "uri") && !has_key(v:val, "commit") && isdirectory(v:val.dir)')))
|
||||
\'has_key(v:val, "uri") && isdirectory(v:val.dir)')))
|
||||
for name in reverse(names)
|
||||
let sha = s:git_revision(g:plugs[name].dir)
|
||||
let sha = has_key(g:plugs[name], 'commit') ? g:plugs[name].commit : s:git_revision(g:plugs[name].dir)
|
||||
if !empty(sha)
|
||||
call append(anchor, printf("silent! let g:plugs['%s'].commit = '%s'", name, sha))
|
||||
redraw
|
||||
|
||||
@@ -61,6 +61,9 @@ au BufEnter *.sshconf set ft=sshconfig
|
||||
autocmd VimEnter *.py SyntasticToggleMode
|
||||
|
||||
|
||||
" Disable sytax for big files
|
||||
" autocmd BufWinEnter * if line2byte(line("$") + 1) > 10000 | set ft=text | let b:deoplete_disable_auto_complete = 1 | endif
|
||||
" autocmd BufEnter * if getfsize(expand("%")) > 10000 | set ft=text | endif
|
||||
|
||||
" Syntax based folding found be slow. In most of the cases, we will do indenting according to syntax.
|
||||
autocmd FileType java set foldmethod=indent
|
||||
|
||||
@@ -223,4 +223,43 @@ 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
|
||||
|
||||
|
||||
|
||||
" Automatically open file:line: arguments
|
||||
augroup OpenFileWithLineNumber
|
||||
autocmd!
|
||||
" Trigger when a buffer is added or created
|
||||
autocmd BufAdd,BufNewFile * call s:ParseFileAndLine(bufname('%'))
|
||||
augroup END
|
||||
|
||||
function! s:ParseFileAndLine(bufferName)
|
||||
" Use regex to match the 'filename:linenumber:' format
|
||||
" \v = very magic regex
|
||||
" ^(.+): = Capture group 1: (anything) followed by :
|
||||
" (\d+):$ = Capture group 2: (digits) followed by : at the end
|
||||
let s:matches = matchlist(a:bufferName, '\v^(.+):(\d+):?$')
|
||||
|
||||
" If the pattern didn't match, do nothing
|
||||
if empty(s:matches)
|
||||
return
|
||||
endif
|
||||
|
||||
" Extract the real file name and line number
|
||||
let s:real_file = s:matches[1]
|
||||
let s:line_num = s:matches[2]
|
||||
|
||||
" --- This is the important part ---
|
||||
|
||||
" 1. Mark the current dummy buffer (e.g., 'default.conf:38:')
|
||||
" to be deleted as soon as it's hidden.
|
||||
setlocal bufhidden=delete
|
||||
|
||||
" 2. Open the *real* file, jumping to the correct line.
|
||||
" This 'edit' command replaces the dummy buffer in the
|
||||
" current window. Because the dummy buffer is now hidden
|
||||
" and marked 'bufhidden=delete', it gets removed.
|
||||
execute 'edit! +' . s:line_num . ' ' . fnameescape(s:real_file)
|
||||
doautocmd filetypedetect BufRead
|
||||
endfunction
|
||||
|
||||
@@ -23,6 +23,16 @@ plugin=org.kde.plasma.digitalclock
|
||||
|
||||
[Containments][3][Applets][21][Configuration]
|
||||
PreloadWeight=100
|
||||
popupHeight=450
|
||||
popupWidth=810
|
||||
|
||||
[Containments][3][Applets][21][Configuration][Appearance]
|
||||
selectedTimeZones=America/New_York,Europe/Zagreb,Local
|
||||
showSeconds=Always
|
||||
|
||||
[Containments][3][Applets][21][Configuration][ConfigDialog]
|
||||
DialogHeight=540
|
||||
DialogWidth=720
|
||||
|
||||
[Containments][3][Applets][22]
|
||||
immutability=1
|
||||
@@ -39,7 +49,7 @@ plugin=org.kde.plasma.taskmanager
|
||||
PreloadWeight=26
|
||||
|
||||
[Containments][3][Applets][27][Configuration][General]
|
||||
launchers=preferred://filemanager,preferred://browser
|
||||
launchers=
|
||||
|
||||
[Containments][3][Applets][28]
|
||||
immutability=1
|
||||
@@ -47,7 +57,7 @@ plugin=org.kde.plasma.icon
|
||||
|
||||
[Containments][3][Applets][28][Configuration]
|
||||
PreloadWeight=26
|
||||
localPath=/home/harish/.local/share/plasma_icons/org.kde.kwrite.desktop
|
||||
localPath=$HOME/.local/share/plasma_icons/org.kde.kwrite.desktop
|
||||
url=file:///usr/share/applications/org.kde.kwrite.desktop
|
||||
|
||||
[Containments][3][Applets][31]
|
||||
@@ -55,7 +65,7 @@ immutability=1
|
||||
plugin=org.kde.plasma.icon
|
||||
|
||||
[Containments][3][Applets][31][Configuration]
|
||||
localPath=/home/harish/.local/share/plasma_icons/systemsettings.desktop
|
||||
localPath=$HOME/.local/share/plasma_icons/systemsettings.desktop
|
||||
url=file:///usr/share/applications/systemsettings.desktop
|
||||
|
||||
[Containments][3][Applets][38]
|
||||
@@ -63,7 +73,7 @@ immutability=1
|
||||
plugin=org.kde.plasma.icon
|
||||
|
||||
[Containments][3][Applets][38][Configuration]
|
||||
localPath=/home/harish/.local/share/plasma_icons/org.kde.kcalc.desktop
|
||||
localPath=$HOME/.local/share/plasma_icons/org.kde.kcalc.desktop
|
||||
url=file:///usr/share/applications/org.kde.kcalc.desktop
|
||||
|
||||
[Containments][3][Applets][4]
|
||||
@@ -72,6 +82,8 @@ plugin=org.kde.plasma.kickoff
|
||||
|
||||
[Containments][3][Applets][4][Configuration]
|
||||
PreloadWeight=100
|
||||
popupHeight=574
|
||||
popupWidth=729
|
||||
|
||||
[Containments][3][Applets][4][Configuration][ConfigDialog]
|
||||
DialogHeight=660
|
||||
@@ -94,6 +106,75 @@ plugin=org.kde.plasma.pager
|
||||
[Containments][3][Applets][5][Configuration]
|
||||
PreloadWeight=26
|
||||
|
||||
[Containments][3][Applets][56]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.brightness
|
||||
|
||||
[Containments][3][Applets][56][Configuration]
|
||||
PreloadWeight=100
|
||||
popupHeight=180
|
||||
popupWidth=360
|
||||
|
||||
[Containments][3][Applets][57]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemmonitor
|
||||
|
||||
[Containments][3][Applets][57][Configuration]
|
||||
CurrentPreset=org.kde.plasma.systemmonitor
|
||||
PreloadWeight=75
|
||||
popupHeight=360
|
||||
popupWidth=308
|
||||
|
||||
[Containments][3][Applets][57][Configuration][Appearance]
|
||||
chartFace=org.kde.ksysguard.facegrid
|
||||
|
||||
[Containments][3][Applets][57][Configuration][ConfigDialog]
|
||||
DialogHeight=540
|
||||
DialogWidth=720
|
||||
|
||||
[Containments][3][Applets][57][Configuration][FaceGrid][Appearance]
|
||||
chartFace=org.kde.ksysguard.linechart
|
||||
showTitle=false
|
||||
|
||||
[Containments][3][Applets][57][Configuration][FaceGrid][SensorColors]
|
||||
cpu/all/system=170,0,0
|
||||
cpu/all/usage=0,12,233
|
||||
cpu/all/user=0,255,0
|
||||
memory/physical/usedPercent=255,0,127
|
||||
memory/swap/usedPercent=134,233,61
|
||||
|
||||
[Containments][3][Applets][57][Configuration][FaceGrid][Sensors]
|
||||
highPrioritySensorIds=["memory/swap/usedPercent"]
|
||||
|
||||
[Containments][3][Applets][57][Configuration][SensorColors]
|
||||
cpu/all/system=170,0,0
|
||||
cpu/all/usage=0,12,233
|
||||
cpu/all/user=0,255,0
|
||||
memory/physical/usedPercent=255,0,127
|
||||
memory/swap/usedPercent=134,233,61
|
||||
|
||||
[Containments][3][Applets][57][Configuration][Sensors]
|
||||
highPrioritySensorIds=["cpu/all/system","cpu/all/usage","cpu/all/user","memory/physical/usedPercent","memory/swap/usedPercent"]
|
||||
|
||||
[Containments][3][Applets][57][Configuration][org.kde.ksysguard.facegrid][General]
|
||||
columnCount=2
|
||||
|
||||
[Containments][3][Applets][59]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.icon
|
||||
|
||||
[Containments][3][Applets][59][Configuration]
|
||||
localPath=$HOME/.local/share/plasma_icons/chromium-browser.desktop
|
||||
url=file:///usr/share/applications/chromium-browser.desktop
|
||||
|
||||
[Containments][3][Applets][60]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.icon
|
||||
|
||||
[Containments][3][Applets][60][Configuration]
|
||||
localPath=$HOME/.local/share/plasma_icons/org.kde.dolphin.desktop
|
||||
url=file:///usr/share/applications/org.kde.dolphin.desktop
|
||||
|
||||
[Containments][3][Applets][8]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.systemtray
|
||||
@@ -110,13 +191,16 @@ DialogWidth=1920
|
||||
PreloadWeight=18
|
||||
|
||||
[Containments][3][General]
|
||||
AppletOrder=4;28;38;27;5;22;8;21;31
|
||||
AppletOrder=4;28;59;60;38;27;57;5;22;8;21;31;56
|
||||
|
||||
[Containments][47]
|
||||
ItemGeometries-1600x900=
|
||||
[Containments][3][Shortcuts]
|
||||
global=Meta+F12
|
||||
|
||||
[Containments][54]
|
||||
ItemGeometries-1024x768=
|
||||
ItemGeometries-1920x1080=
|
||||
ItemGeometriesHorizontal=
|
||||
activityId=acb90208-98fb-44c9-a0d0-ed2e3c67520c
|
||||
activityId=5631f9b9-eda6-43ff-826c-7cb51e8f26f5
|
||||
formfactor=0
|
||||
immutability=1
|
||||
lastScreen=0
|
||||
@@ -124,25 +208,11 @@ location=0
|
||||
plugin=org.kde.plasma.folder
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][47][Wallpaper][org.kde.image][General]
|
||||
Image=file:///usr/share/backgrounds/f36/default/f36-01-day.png
|
||||
[Containments][54][General]
|
||||
positions={"1024x768":[],"1920x1080":[]}
|
||||
|
||||
[Containments][48]
|
||||
ItemGeometries-1600x900=
|
||||
ItemGeometriesHorizontal=
|
||||
activityId=acb90208-98fb-44c9-a0d0-ed2e3c67520c
|
||||
formfactor=0
|
||||
immutability=1
|
||||
lastScreen=0
|
||||
location=0
|
||||
plugin=org.kde.plasma.folder
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][48][Wallpaper][org.kde.image][General]
|
||||
Image=file:///usr/share/backgrounds/f36/default/f36-01-day.png
|
||||
|
||||
[Containments][49]
|
||||
activityId=acb90208-98fb-44c9-a0d0-ed2e3c67520c
|
||||
[Containments][58]
|
||||
activityId=5631f9b9-eda6-43ff-826c-7cb51e8f26f5
|
||||
formfactor=0
|
||||
immutability=1
|
||||
lastScreen=1
|
||||
@@ -150,8 +220,29 @@ location=0
|
||||
plugin=org.kde.plasma.folder
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][49][Wallpaper][org.kde.image][General]
|
||||
Image=file:///usr/share/wallpapers/F36/contents/images/1920x1080.png
|
||||
[Containments][58][ConfigDialog]
|
||||
DialogHeight=540
|
||||
DialogWidth=720
|
||||
|
||||
[Containments][58][General]
|
||||
positions={"1920x1080":[]}
|
||||
|
||||
[Containments][58][Wallpaper][org.kde.image][General]
|
||||
Image=/usr/share/wallpapers/EveningGlow/
|
||||
PreviewImage=/usr/share/wallpapers/EveningGlow/
|
||||
SlidePaths=/usr/share/wallpapers/
|
||||
|
||||
[Containments][61]
|
||||
activityId=5631f9b9-eda6-43ff-826c-7cb51e8f26f5
|
||||
formfactor=0
|
||||
immutability=1
|
||||
lastScreen=2
|
||||
location=0
|
||||
plugin=org.kde.plasma.folder
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][61][General]
|
||||
positions={"1920x1080":[]}
|
||||
|
||||
[Containments][9]
|
||||
activityId=
|
||||
@@ -160,6 +251,8 @@ immutability=1
|
||||
lastScreen=0
|
||||
location=3
|
||||
plugin=org.kde.plasma.private.systemtray
|
||||
popupHeight=432
|
||||
popupWidth=432
|
||||
wallpaperplugin=org.kde.image
|
||||
|
||||
[Containments][9][Applets][10]
|
||||
@@ -202,14 +295,14 @@ immutability=1
|
||||
plugin=org.kde.plasma.manage-inputmethod
|
||||
|
||||
[Containments][9][Applets][15][Configuration]
|
||||
PreloadWeight=26
|
||||
PreloadWeight=36
|
||||
|
||||
[Containments][9][Applets][16]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.nightcolorcontrol
|
||||
|
||||
[Containments][9][Applets][16][Configuration]
|
||||
PreloadWeight=26
|
||||
PreloadWeight=2
|
||||
|
||||
[Containments][9][Applets][17]
|
||||
immutability=1
|
||||
@@ -243,12 +336,16 @@ PreloadWeight=100
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
|
||||
[Containments][9][Applets][20][Configuration][General]
|
||||
currentTab=streams
|
||||
migrated=true
|
||||
|
||||
[Containments][9][Applets][23]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.battery
|
||||
|
||||
[Containments][9][Applets][23][Configuration]
|
||||
PreloadWeight=26
|
||||
PreloadWeight=0
|
||||
|
||||
[Containments][9][Applets][24]
|
||||
immutability=1
|
||||
@@ -264,6 +361,9 @@ plugin=org.kde.plasma.networkmanagement
|
||||
[Containments][9][Applets][25][Configuration]
|
||||
PreloadWeight=100
|
||||
|
||||
[Containments][9][Applets][25][Configuration][General]
|
||||
currentDetailsTab=details
|
||||
|
||||
[Containments][9][Applets][26]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.mediacontroller
|
||||
@@ -278,6 +378,20 @@ plugin=org.kde.kscreen
|
||||
[Containments][9][Applets][42][Configuration]
|
||||
PreloadWeight=65
|
||||
|
||||
[Containments][9][Applets][53]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.cameraindicator
|
||||
|
||||
[Containments][9][Applets][55]
|
||||
immutability=1
|
||||
plugin=org.kde.plasma.brightness
|
||||
|
||||
[Containments][9][Applets][55][Configuration]
|
||||
PreloadWeight=0
|
||||
|
||||
[Containments][9][Applets][56][Configuration]
|
||||
PreloadWeight=42
|
||||
|
||||
[Containments][9][ConfigDialog]
|
||||
DialogHeight=660
|
||||
DialogWidth=880
|
||||
@@ -286,9 +400,9 @@ DialogWidth=880
|
||||
PreloadWeight=26
|
||||
|
||||
[Containments][9][General]
|
||||
extraItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.nightcolorcontrol,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume,org.kde.kscreen
|
||||
knownItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.nightcolorcontrol,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume
|
||||
extraItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.brightness,org.kde.plasma.cameraindicator
|
||||
knownItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.keyboardlayout,org.kde.plasma.manage-inputmethod,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.vault,org.kde.plasma.volume,org.kde.kscreen,org.kde.plasma.brightness,org.kde.plasma.cameraindicator
|
||||
|
||||
[ScreenMapping]
|
||||
itemsOnDisabledScreens=0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,4,desktop:/chromium-browser-gtk4.desktop,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop
|
||||
screenMapping=desktop:/chromium-browser-gtk4.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop,1,acb90208-98fb-44c9-a0d0-ed2e3c67520c
|
||||
itemsOnDisabledScreens=0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,4,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop,desktop:/chromium-browser-gtk4.desktop,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop
|
||||
screenMapping=desktop:/chrome-kajebgjangihfbkjfejcanhanjmmbcfd-Profile_4.desktop,0,5631f9b9-eda6-43ff-826c-7cb51e8f26f5,desktop:/chrome-majibeacmijgldglfjdinbpoekheiobd-Default.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-ahiigpfcghkbjfcibpojancebdfjmoop-Profile_2.desktop,0,5631f9b9-eda6-43ff-826c-7cb51e8f26f5,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_2.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chrome-efjpoieainaodhnlgcofglmehiojbpeb-Profile_9.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c,desktop:/chromium-browser-gtk4.desktop,0,acb90208-98fb-44c9-a0d0-ed2e3c67520c
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
../../../.profile
|
||||
+120
-55
@@ -8,13 +8,15 @@
|
||||
show_thumbnail=1
|
||||
|
||||
[Window]
|
||||
width=1022
|
||||
height=691
|
||||
width=959
|
||||
height=1014
|
||||
maximized=1
|
||||
|
||||
[Desktop]
|
||||
show_wallpaper=1
|
||||
wallpaper=$HOME/Pictures/wallpapers/1920x1080/pexels-og-mpango-3041110-0.jpg
|
||||
bg1=4656,4125,12014
|
||||
bg2=0,0,3200
|
||||
bg2=26528,4179,32767
|
||||
text=65535,65535,65535
|
||||
shadow=0,0,0
|
||||
|
||||
@@ -31,9 +33,9 @@ dev_show_file-lbl=Mounted _Files
|
||||
dev_show_file-b=1
|
||||
dev_dispname-s=%v %s %l %m
|
||||
dev_dispname-z=%v %s %l %m
|
||||
dev_automount_optical-b=1
|
||||
dev_automount_removable-b=1
|
||||
dev_auto_open-b=1
|
||||
dev_automount_optical-b=2
|
||||
dev_automount_removable-b=2
|
||||
dev_auto_open-b=2
|
||||
dev_mount_options-s=noexec, nosuid, noatime
|
||||
dev_mount_options-z=noexec, nosuid, noatime
|
||||
dev_remount_options-s=noexec, nosuid, noatime
|
||||
@@ -47,11 +49,13 @@ dev_icon_optical_nomedia-icn=gtk-cdrom
|
||||
dev_icon_remove_mounted-icn=gtk-harddisk
|
||||
dev_icon_remove_unmounted-icn=gtk-harddisk
|
||||
dev_icon_internal_mounted-icn=gtk-harddisk
|
||||
dev_icon_network-icn=gtk-network
|
||||
dev_icon_file-lbl=Mounted File
|
||||
book_icon-lbl=_Icon
|
||||
book_show-b=1
|
||||
book_add-key=100
|
||||
book_add-keymod=4
|
||||
main_book-child=cstm_3164fd7c
|
||||
move_filename-b=1
|
||||
move_path-b=1
|
||||
move_type-b=1
|
||||
@@ -70,7 +74,7 @@ status_info-b=1
|
||||
main_new_window-key=110
|
||||
main_new_window-keymod=4
|
||||
main_search-x=580
|
||||
main_search-y=427
|
||||
main_search-y=457
|
||||
main_search-key=83
|
||||
main_search-keymod=5
|
||||
main_terminal-s=konsole
|
||||
@@ -79,26 +83,26 @@ main_terminal-b=2
|
||||
main_save_tabs-b=1
|
||||
main_exit-key=113
|
||||
main_exit-keymod=4
|
||||
panel1_show-s=////
|
||||
panel1_show-x=0
|
||||
panel1_show-s=///$HOME/Downloads///$HOME/Projects/sevab/newdsbk///$HOME/Projects/sevab/newdsbk/html/includes/vendor/atk4/ui/js///$HOME/Projects/630/capista-backend
|
||||
panel1_show-x=3
|
||||
panel1_show-key=49
|
||||
panel1_show-keymod=4
|
||||
panel1_show-b=1
|
||||
panel2_show-s=////
|
||||
panel2_show-x=0
|
||||
panel1_show-b=2
|
||||
panel2_show-s=///$HOME/Downloads///$HOME/Projects/esphome///$HOME/Documents/krishi/2024-25-docs/all/pdfs///$HOME/Documents/krishi/2024-25-docs
|
||||
panel2_show-x=1
|
||||
panel2_show-key=50
|
||||
panel2_show-keymod=4
|
||||
panel2_show-b=2
|
||||
panel3_show-s=////
|
||||
panel3_show-x=0
|
||||
panel3_show-s=///$HOME/Downloads///$HOME/Projects/sevab/cms-test/damp-v3/damp-v3///$HOME/Projects/sevab/cms-test/experiments/dam-frontend///$HOME/Projects/sevab/cms-test/db///$HOME/Projects/sevab/cms-test/damp-project/damp-backend-strapi
|
||||
panel3_show-x=4
|
||||
panel3_show-key=51
|
||||
panel3_show-keymod=4
|
||||
panel3_show-b=2
|
||||
panel4_show-s=////
|
||||
panel4_show-x=0
|
||||
panel4_show-s=///$HOME/Downloads///$HOME/Projects/TP/acezboard/aced-board///$HOME/Projects/TP/acezboard/aced-board/api///$HOME/Projects/TP/acezboard/aced-board/client///$HOME/Projects/TP/acezboard/Table-component///$HOME/.local/Apps/glance///$HOME/Projects/Github/dotFiles/home
|
||||
panel4_show-x=6
|
||||
panel4_show-key=52
|
||||
panel4_show-keymod=4
|
||||
panel4_show-b=2
|
||||
panel4_show-b=1
|
||||
main_pbar-b=1
|
||||
main_focus_panel-lbl=_Go
|
||||
main_auto-lbl=_Events
|
||||
@@ -123,13 +127,13 @@ task_col_status-y=130
|
||||
task_col_status-b=1
|
||||
task_col_count-x=1
|
||||
task_col_path-x=2
|
||||
task_col_path-y=54
|
||||
task_col_path-y=675
|
||||
task_col_path-b=1
|
||||
task_col_file-x=3
|
||||
task_col_file-y=738
|
||||
task_col_file-y=228
|
||||
task_col_file-b=1
|
||||
task_col_to-x=4
|
||||
task_col_to-y=29
|
||||
task_col_to-y=365
|
||||
task_col_to-b=1
|
||||
task_col_progress-x=5
|
||||
task_col_progress-y=100
|
||||
@@ -153,17 +157,17 @@ task_col_avgspeed-b=1
|
||||
task_col_avgest-x=12
|
||||
task_col_avgest-y=459
|
||||
task_col_avgest-b=1
|
||||
task_show_manager-x=257
|
||||
task_show_manager-x=250
|
||||
task_show_manager-b=2
|
||||
task_hide_manager-b=1
|
||||
task_popups-s=600
|
||||
task_popups-x=744
|
||||
task_popups-x=762
|
||||
task_popups-y=432
|
||||
task_popups-z=324
|
||||
task_pop_all-b=2
|
||||
task_pop_top-s=750
|
||||
task_pop_top-x=750
|
||||
task_pop_top-y=342
|
||||
task_pop_top-x=1600
|
||||
task_pop_top-y=825
|
||||
task_pop_top-z=204
|
||||
task_pop_top-b=2
|
||||
task_pop_above-b=2
|
||||
@@ -205,8 +209,8 @@ new_folder-keymod=4
|
||||
new_archive-key=65
|
||||
new_archive-keymod=1
|
||||
arc_dlg-s=hand_arc_+zip
|
||||
arc_dlg-x=840
|
||||
arc_dlg-y=630
|
||||
arc_dlg-x=1364
|
||||
arc_dlg-y=908
|
||||
arc_dlg-z=0
|
||||
arc_dlg-b=1
|
||||
tab_new-key=-1
|
||||
@@ -299,7 +303,7 @@ prop_perm-keymod=4
|
||||
panel1_show_toolbox-b=1
|
||||
panel1_show_devmon-b=1
|
||||
panel1_show_dirtree-b=1
|
||||
panel1_show_book-b=1
|
||||
panel1_show_book-b=2
|
||||
panel1_show_sidebar-b=2
|
||||
panel1_list_detailed-x=2
|
||||
panel1_list_detailed-y=1
|
||||
@@ -313,7 +317,7 @@ panel1_list_compact-b=2
|
||||
panel1_list_large-b=1
|
||||
panel1_show_hidden-key=104
|
||||
panel1_show_hidden-keymod=4
|
||||
panel1_show_hidden-b=1
|
||||
panel1_show_hidden-b=2
|
||||
panel1_detcol_name-x=0
|
||||
panel1_detcol_name-b=1
|
||||
panel1_detcol_size-x=1
|
||||
@@ -450,7 +454,7 @@ panel1_slider_positions-y=198
|
||||
panel_sliders-s=405
|
||||
panel_sliders-x=848
|
||||
panel_sliders-y=579
|
||||
panel_sliders-z=576
|
||||
panel_sliders-z=764
|
||||
cstm_7551f58c-x=0
|
||||
cstm_7551f58c-key=103
|
||||
cstm_7551f58c-keymod=4
|
||||
@@ -464,24 +468,24 @@ cstm_7551f58c-keep=1
|
||||
file_dlg-x=840
|
||||
file_dlg-y=630
|
||||
panel1_show_pathbar-b=1
|
||||
text_dlg-s=600
|
||||
text_dlg-s=690
|
||||
text_dlg-x=500
|
||||
text_dlg-y=439
|
||||
text_dlg-z=400
|
||||
text_dlg-y=310
|
||||
text_dlg-z=643
|
||||
cstm_779468ff-y=
|
||||
cstm_779468ff-key=118
|
||||
cstm_779468ff-keymod=67108864
|
||||
cstm_779468ff-key=86
|
||||
cstm_779468ff-keymod=67108865
|
||||
cstm_779468ff-label=GVim
|
||||
cstm_779468ff-next=cstm_2852ad6c
|
||||
cstm_779468ff-next=cstm_44b46be8
|
||||
cstm_779468ff-prev=cstm_46ad647a
|
||||
cstm_779468ff-line=nvim-konsole -p %F
|
||||
cstm_779468ff-line=nv -p %F
|
||||
cstm_779468ff-task_err=1
|
||||
cstm_779468ff-task_out=1
|
||||
cstm_779468ff-keep=1
|
||||
app_dlg-s=500
|
||||
app_dlg-x=400
|
||||
app_dlg-y=420
|
||||
app_dlg-z=468
|
||||
app_dlg-x=1920
|
||||
app_dlg-y=1005
|
||||
app_dlg-z=452
|
||||
arc_tar_bz2-s=
|
||||
cstm_46ad647a-y=
|
||||
cstm_46ad647a-key=88
|
||||
@@ -681,7 +685,7 @@ cstm_7a0c9cbe-tool=4
|
||||
cstm_7a0c9cbe-prev=cstm_051d0ab7
|
||||
panel1_show_toolbox0-b=1
|
||||
panel1_show_devmon0-b=1
|
||||
panel1_show_book0-b=1
|
||||
panel1_show_book0-b=2
|
||||
panel1_show_sidebar0-b=2
|
||||
panel1_detcol_name0-b=1
|
||||
panel1_detcol_size0-b=1
|
||||
@@ -690,8 +694,8 @@ panel1_detcol_perm0-b=1
|
||||
panel1_detcol_owner0-b=1
|
||||
panel1_detcol_date0-b=1
|
||||
panel1_slider_positions0-s=292
|
||||
panel1_slider_positions0-x=275
|
||||
panel1_slider_positions0-y=261
|
||||
panel1_slider_positions0-x=416
|
||||
panel1_slider_positions0-y=236
|
||||
panel1_show_toolbox1-b=1
|
||||
panel1_show_devmon1-b=1
|
||||
panel1_show_book1-b=1
|
||||
@@ -723,7 +727,7 @@ panel2_detcol_date1-y=100
|
||||
panel2_detcol_date1-b=1
|
||||
panel2_slider_positions1-s=0
|
||||
panel2_slider_positions1-x=0
|
||||
panel2_slider_positions1-y=0
|
||||
panel2_slider_positions1-y=384
|
||||
panel1_show_toolbox2-b=1
|
||||
panel1_show_devmon2-b=1
|
||||
panel1_show_book2-b=1
|
||||
@@ -736,7 +740,7 @@ panel1_detcol_owner2-b=1
|
||||
panel1_detcol_date2-b=1
|
||||
panel1_slider_positions2-s=292
|
||||
panel1_slider_positions2-x=160
|
||||
panel1_slider_positions2-y=198
|
||||
panel1_slider_positions2-y=236
|
||||
panel3_show_toolbox2-b=1
|
||||
panel3_show_devmon2-b=2
|
||||
panel3_show_book2-b=2
|
||||
@@ -755,7 +759,7 @@ panel3_detcol_date2-y=100
|
||||
panel3_detcol_date2-b=1
|
||||
panel3_slider_positions2-s=0
|
||||
panel3_slider_positions2-x=0
|
||||
panel3_slider_positions2-y=0
|
||||
panel3_slider_positions2-y=233
|
||||
panel4_show_toolbox2-b=1
|
||||
panel4_show_devmon2-b=2
|
||||
panel4_show_book2-b=2
|
||||
@@ -802,8 +806,8 @@ panel2_detcol_owner0-b=1
|
||||
panel2_detcol_date0-y=100
|
||||
panel2_detcol_date0-b=1
|
||||
panel2_slider_positions0-s=0
|
||||
panel2_slider_positions0-x=236
|
||||
panel2_slider_positions0-y=384
|
||||
panel2_slider_positions0-x=339
|
||||
panel2_slider_positions0-y=373
|
||||
panel2_show_toolbox2-b=1
|
||||
panel2_show_devmon2-b=1
|
||||
panel2_show_book2-b=1
|
||||
@@ -815,8 +819,8 @@ panel2_detcol_perm2-b=1
|
||||
panel2_detcol_owner2-b=1
|
||||
panel2_detcol_date2-b=1
|
||||
panel2_slider_positions2-s=0
|
||||
panel2_slider_positions2-x=0
|
||||
panel2_slider_positions2-y=0
|
||||
panel2_slider_positions2-x=339
|
||||
panel2_slider_positions2-y=236
|
||||
panel1_show_toolbox3-b=1
|
||||
panel1_show_devmon3-b=1
|
||||
panel1_show_book3-b=1
|
||||
@@ -869,8 +873,8 @@ panel3_detcol_owner0-b=1
|
||||
panel3_detcol_date0-y=1046
|
||||
panel3_detcol_date0-b=1
|
||||
panel3_slider_positions0-s=0
|
||||
panel3_slider_positions0-x=293
|
||||
panel3_slider_positions0-y=402
|
||||
panel3_slider_positions0-x=242
|
||||
panel3_slider_positions0-y=233
|
||||
cstm_0c2251bc-y=
|
||||
cstm_0c2251bc-key=103
|
||||
cstm_0c2251bc-keymod=67108864
|
||||
@@ -937,8 +941,8 @@ panel4_detcol_owner0-b=1
|
||||
panel4_detcol_date0-y=100
|
||||
panel4_detcol_date0-b=1
|
||||
panel4_slider_positions0-s=0
|
||||
panel4_slider_positions0-x=203
|
||||
panel4_slider_positions0-y=325
|
||||
panel4_slider_positions0-x=253
|
||||
panel4_slider_positions0-y=595
|
||||
panel3_show_toolbox3-b=1
|
||||
panel3_show_devmon3-b=1
|
||||
panel3_show_book3-b=2
|
||||
@@ -979,7 +983,7 @@ cstm_1436645d-keep=1
|
||||
cstm_2852ad6c-y=
|
||||
cstm_2852ad6c-label=code
|
||||
cstm_2852ad6c-next=cstm_39c0c564
|
||||
cstm_2852ad6c-prev=cstm_779468ff
|
||||
cstm_2852ad6c-prev=cstm_44b46be8
|
||||
cstm_2852ad6c-line=code
|
||||
cstm_2852ad6c-task=1
|
||||
cstm_2852ad6c-task_err=1
|
||||
@@ -987,6 +991,7 @@ cstm_2852ad6c-task_out=1
|
||||
cstm_2852ad6c-keep=1
|
||||
cstm_218bb12f-y=
|
||||
cstm_218bb12f-label=gnome-terminal
|
||||
cstm_218bb12f-next=cstm_78d6ed67
|
||||
cstm_218bb12f-prev=cstm_39c0c564
|
||||
cstm_218bb12f-line=gnome-terminal
|
||||
cstm_218bb12f-task=1
|
||||
@@ -1005,11 +1010,71 @@ cstm_39c0c564-task_err=1
|
||||
cstm_39c0c564-task_out=1
|
||||
cstm_39c0c564-keep=1
|
||||
cstm_570b5ce2-y=
|
||||
cstm_570b5ce2-key=84
|
||||
cstm_570b5ce2-keymod=5
|
||||
cstm_570b5ce2-label=bash-session
|
||||
cstm_570b5ce2-next=cstm_1436645d
|
||||
cstm_570b5ce2-prev=cstm_7551f58c
|
||||
cstm_570b5ce2-line=bash-session -n
|
||||
cstm_570b5ce2-task_err=1
|
||||
cstm_570b5ce2-task_out=1
|
||||
cstm_570b5ce2-keep=1
|
||||
cstm_3164fd7c-x=3
|
||||
cstm_3164fd7c-z=$HOME
|
||||
cstm_3164fd7c-label=Home
|
||||
cstm_3164fd7c-next=cstm_5e51738c
|
||||
cstm_3164fd7c-parent=main_book
|
||||
cstm_5e51738c-x=3
|
||||
cstm_5e51738c-z=$HOME/Downloads
|
||||
cstm_5e51738c-label=Downloads
|
||||
cstm_5e51738c-next=cstm_7610ef7d
|
||||
cstm_5e51738c-prev=cstm_3164fd7c
|
||||
cstm_7610ef7d-x=3
|
||||
cstm_7610ef7d-z=$HOME/Projects
|
||||
cstm_7610ef7d-label=Projects
|
||||
cstm_7610ef7d-next=cstm_460a2fe0
|
||||
cstm_7610ef7d-prev=cstm_5e51738c
|
||||
cstm_44b46be8-y=
|
||||
cstm_44b46be8-key=118
|
||||
cstm_44b46be8-keymod=67108864
|
||||
cstm_44b46be8-label=Lvim
|
||||
cstm_44b46be8-icon=nvim
|
||||
cstm_44b46be8-next=cstm_2852ad6c
|
||||
cstm_44b46be8-prev=cstm_779468ff
|
||||
cstm_44b46be8-line=env HISTSIZE=10000 HISTFILE="%d/.bash_history" lvim %F
|
||||
cstm_44b46be8-task_err=1
|
||||
cstm_44b46be8-task_out=1
|
||||
cstm_44b46be8-keep=1
|
||||
cstm_78d6ed67-y=
|
||||
cstm_78d6ed67-key=68
|
||||
cstm_78d6ed67-keymod=5
|
||||
cstm_78d6ed67-label=devSetup
|
||||
cstm_78d6ed67-prev=cstm_218bb12f
|
||||
cstm_78d6ed67-line=hari-tools.sh devSetup
|
||||
cstm_78d6ed67-task_err=1
|
||||
cstm_78d6ed67-task_out=1
|
||||
cstm_78d6ed67-keep=1
|
||||
cstm_460a2fe0-x=3
|
||||
cstm_460a2fe0-z=$HOME/Documents
|
||||
cstm_460a2fe0-label=Documents
|
||||
cstm_460a2fe0-next=cstm_579daf70
|
||||
cstm_460a2fe0-prev=cstm_7610ef7d
|
||||
cstm_579daf70-x=3
|
||||
cstm_579daf70-z=$HOME/.file-headers
|
||||
cstm_579daf70-label=.file-headers
|
||||
cstm_579daf70-next=cstm_1b769d37
|
||||
cstm_579daf70-prev=cstm_460a2fe0
|
||||
cstm_1b769d37-x=3
|
||||
cstm_1b769d37-z=$HOME/Projects/Github/dotFiles/home/.node_modules_mine
|
||||
cstm_1b769d37-label=.node_modules_mine
|
||||
cstm_1b769d37-next=cstm_52783cd4
|
||||
cstm_1b769d37-prev=cstm_579daf70
|
||||
cstm_52783cd4-x=3
|
||||
cstm_52783cd4-z=$HOME/.cache/spacefm/sftp-fedora-dell.home
|
||||
cstm_52783cd4-label=sftp-fedora-dell.home
|
||||
cstm_52783cd4-next=cstm_79084222
|
||||
cstm_52783cd4-prev=cstm_1b769d37
|
||||
cstm_79084222-x=3
|
||||
cstm_79084222-z=$HOME/Projects/sevab/newdsbk
|
||||
cstm_79084222-label=newdsbk
|
||||
cstm_79084222-prev=cstm_52783cd4
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@ set $right l
|
||||
# set $term gnome-terminal
|
||||
set $term konsole
|
||||
# Your preferred application launcher
|
||||
set $menu dmenu_run
|
||||
set $menu rofi -show drun
|
||||
|
||||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
output * bg /usr/share/backgrounds/f39/default/f39-01-day.png fill
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
@@ -132,7 +132,7 @@ output HDMI-A-1 resolution 1920x1080 position 0,0
|
||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||
# respectively.
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
# bindsym $mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+s layout stacking
|
||||
@@ -140,7 +140,7 @@ output HDMI-A-1 resolution 1920x1080 position 0,0
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym F11 fullscreen
|
||||
bindsym Shift+F11 fullscreen
|
||||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* ॐ Om Brahmarppanam ॐ
|
||||
*
|
||||
* <%- filename %>
|
||||
* Created at: <%- date %>
|
||||
*
|
||||
* Copyright <%- date.getFullYear() %> <%- user %> <<%- email %>>
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style
|
||||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
import { View, StyleSheet, Text } from 'react-native';
|
||||
|
||||
export default function(){
|
||||
return <View style={css.wrapper}></View> ;
|
||||
}
|
||||
|
||||
const css = StyleSheet.create({
|
||||
wrapper:{
|
||||
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
user: 'Harish Karumuthil',
|
||||
email: 'harish2704@gmail.com',
|
||||
date: new Date(),
|
||||
};
|
||||
@@ -6,8 +6,20 @@
|
||||
noconsole = yes
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[alias]
|
||||
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
|
||||
permission-reset = !git diff -p -R --no-ext-diff --no-color --diff-filter=M | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply
|
||||
[filter "lfs"]
|
||||
process = git-lfs filter-process
|
||||
required = true
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
[guitool "Pull"]
|
||||
cmd = git pull
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[pull]
|
||||
rebase = false
|
||||
[gui]
|
||||
fontui = -family \"Noto Sans\" -size 16 -weight normal -slant roman -underline 0 -overstrike 0
|
||||
fontdiff = -family \"Noto Sans Mono\" -size 16 -weight normal -slant roman -underline 0 -overstrike 0
|
||||
|
||||
+3
-3
@@ -1,4 +1,3 @@
|
||||
.bash_history
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
@@ -8,5 +7,6 @@
|
||||
|
||||
# Swap the comments on the following lines if you don't wish to use zero-installs
|
||||
# Documentation here: https://yarnpkg.com/features/zero-installs
|
||||
!.yarn/cache
|
||||
#.pnp.*
|
||||
.yarn/cache
|
||||
.pnp.*
|
||||
.bash_history
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
gtk-enable-animations=1
|
||||
gtk-primary-button-warps-slider=0
|
||||
gtk-toolbar-style=3
|
||||
gtk-menu-images=1
|
||||
gtk-button-images=1
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-cursor-theme-name="breeze_cursors"
|
||||
gtk-icon-theme-name="breeze"
|
||||
gtk-font-name="Noto Sans, 11"
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
gtk-sound-theme-name="ocean"
|
||||
gtk-enable-animations=1
|
||||
gtk-primary-button-warps-slider=1
|
||||
gtk-toolbar-style=3
|
||||
gtk-menu-images=1
|
||||
gtk-button-images=1
|
||||
gtk-cursor-theme-size=24
|
||||
gtk-cursor-theme-name="breeze_cursors"
|
||||
gtk-icon-theme-name="breeze"
|
||||
gtk-font-name="Noto Sans, 11"
|
||||
include "/usr/share/themes/Adwaita/gtk-2.0/gtkrc"
|
||||
|
||||
gtk-theme-name="Breeze"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
export HISTSIZE=10000
|
||||
export HISTFILE=$PWD/.bash_history
|
||||
export HISTCONTROL=erasedups
|
||||
|
||||
if [[ $1 == '-n' ]]; then
|
||||
konsole &
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
# --force-device-scale-factor=1.25
|
||||
/usr/bin/chromium-browser --password-store=kwallet5 "$@"
|
||||
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
# ॐ Om Brahmarppanam ॐ
|
||||
#
|
||||
# csv-split-by-col.py
|
||||
# Created at: Sat Jan 28 2023 19:43:44 GMT+0530 (GMT+05:30)
|
||||
#
|
||||
# Copyright 2023 Harish Karumuthil <harish2704@gmail.com>
|
||||
#
|
||||
# Use of this source code is governed by an MIT-style
|
||||
# license that can be found in the LICENSE file or at
|
||||
# https://opensource.org/licenses/MIT.
|
||||
#
|
||||
|
||||
|
||||
import os
|
||||
import argparse
|
||||
import pandas as pd
|
||||
import openpyxl
|
||||
|
||||
def pathToFilename(filePath):
|
||||
return os.path.splitext(os.path.basename(filePath))[0]
|
||||
|
||||
# Shamelessly copied from https://stackoverflow.com/a/39530676/1677234
|
||||
def autoWidth(worksheet):
|
||||
for col in worksheet.columns:
|
||||
max_length = 0
|
||||
column = col[0].column_letter # Get the column name
|
||||
for cell in col:
|
||||
try: # Necessary to avoid error on empty cells
|
||||
if len(str(cell.value)) > max_length:
|
||||
max_length = len(str(cell.value))
|
||||
except:
|
||||
pass
|
||||
adjusted_width = (max_length + 2)
|
||||
worksheet.column_dimensions[column].width = adjusted_width
|
||||
|
||||
def main(df, firstCol, secondCol, outputDir, fileName):
|
||||
firstColUniq = df[firstCol].unique()
|
||||
for i in firstColUniq:
|
||||
subDf = df[ df[firstCol] == i ]
|
||||
subDf = subDf.drop(firstCol, axis=1)
|
||||
with pd.ExcelWriter('{0}/{1}_{2}.xlsx'.format(outputDir,fileName,i), engine='openpyxl') as writer:
|
||||
# with pd.ExcelWriter('{0}/{1}_{2}.xlsx'.format(outputDir,fileName,i), engine='xlsxwriter') as writer: # Does not work with adjusted_width
|
||||
secondColUniq = subDf[secondCol].unique()
|
||||
for j in secondColUniq:
|
||||
sheetDf = subDf[ subDf[secondCol] == j ]
|
||||
sheetDf = sheetDf.drop(secondCol, axis=1)
|
||||
sheetName = j[0:20]
|
||||
sheetDf.insert(0, 'S.No', range(1, 1+len(sheetDf)))
|
||||
sheet = sheetDf.to_excel(writer, sheet_name=sheetName, index=False)
|
||||
writer.sheets[sheetName].header = sheetName
|
||||
# auto_adjust_xlsx_column_width(sheetDf, writer, sheetName)
|
||||
for _,sheet in writer.sheets.items():
|
||||
autoWidth(sheet)
|
||||
sheet.evenHeader.center.text = "&A - Page &[Page] of &N"
|
||||
sheet.oddHeader.center.text = "&A - Page &[Page] of &N"
|
||||
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
prog = 'Split CSV',
|
||||
description = 'Split big CSV file to N-files with M-sheets per file by grouping first and second column option',
|
||||
epilog = 'Text at the bottom of help')
|
||||
parser.add_argument('filename')
|
||||
parser.add_argument('-d', '--delimiter', default=',', help="Delimiter (default=',')")
|
||||
parser.add_argument('-f', '--first-column', help="title of primary column based on which files will be split")
|
||||
parser.add_argument('-s', '--second-column', help="title of second column based on which each sheets will be created in single file")
|
||||
parser.add_argument('-o', '--output-dir', help="Output director default( './csvsplit.out')", default='./csvsplit.out')
|
||||
args = parser.parse_args()
|
||||
|
||||
dataFrame = pd.read_csv(args.filename, sep=args.delimiter)
|
||||
firstColumn = args.first_column or dataFrame.columns[0]
|
||||
secondColumn = args.second_column or dataFrame.columns[1]
|
||||
|
||||
# TODO: mkdir -p
|
||||
try:
|
||||
os.mkdir(args.output_dir)
|
||||
except FileExistsError as e:
|
||||
pass
|
||||
|
||||
main( dataFrame, firstColumn, secondColumn, args.output_dir, pathToFilename(args.filename) )
|
||||
@@ -12,6 +12,98 @@ list-commands(){
|
||||
typeset -F | cut -d ' ' -f 3 | grep -v '^_' | sort
|
||||
}
|
||||
|
||||
# start rootless podman socket
|
||||
podmanStart(){
|
||||
set -x
|
||||
systemctl --user enable podman.socket
|
||||
systemctl --user start podman.socket
|
||||
systemctl --user status podman.socket
|
||||
echo export DOCKER_HOST=unix:///run/user/$UID/podman/podman.sock
|
||||
}
|
||||
|
||||
# dockerLinux [imagename=ubuntu:22.40] . Quick shell inside given linux container
|
||||
dockerLinux(){
|
||||
set -x
|
||||
local cid=$(($RANDOM%20))
|
||||
local name=linux_$cid
|
||||
local image=${1:-ubuntu:22.04}
|
||||
docker run -d --name $name $image sh -c "trap : TERM INT; sleep infinity & wait"
|
||||
docker exec -it $name sh
|
||||
}
|
||||
|
||||
# ts / tsx to js/jsx
|
||||
tstojs(){
|
||||
set -x
|
||||
tsc --jsx preserve -t es2020 --outDir js --noEmit false $@
|
||||
}
|
||||
|
||||
# cmd </long/file/path.ext> Create file by creating all parents
|
||||
touchp(){
|
||||
local fname="$1"
|
||||
local parentDir=$(dirname "$fname")
|
||||
mkdir -p "$parentDir"
|
||||
touch "$fname"
|
||||
}
|
||||
|
||||
# cmd <width> <height>. Change waydroid size and restart session
|
||||
waydroidChangeSize(){
|
||||
local width=$1
|
||||
local height=$2
|
||||
waydroid prop set persist.waydroid.width $width
|
||||
waydroid prop set persist.waydroid.height $height
|
||||
waydroid session stop
|
||||
waydroid session start &
|
||||
sleep 1
|
||||
waydroid show-full-ui
|
||||
}
|
||||
|
||||
# Restart pulseaudio
|
||||
pulseAudioRestart(){
|
||||
set -x
|
||||
systemctl --user restart pipewire-pulse
|
||||
}
|
||||
|
||||
# Convert video to mp4 for mobile device. videoformobile <infile> [opts...]
|
||||
videoformobile(){
|
||||
local infile=$1;
|
||||
shift
|
||||
set -x
|
||||
ffmpeg -i "$infile" -c:v h264 -pix_fmt yuv420p -level 3.0 $@
|
||||
}
|
||||
|
||||
# allow permission for docker container. dockerAllow <path>
|
||||
dockerAllow(){
|
||||
set -x
|
||||
chcon -R system_u:object_r:container_file_t:s0 "$1"
|
||||
}
|
||||
|
||||
# Start development env in current directory
|
||||
devSetup(){
|
||||
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch One Desktop to the Right"
|
||||
lvim &
|
||||
bash-session -n &
|
||||
sleep 1.5
|
||||
# qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Window Maximize"
|
||||
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Walk Through Windows"
|
||||
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Window Maximize"
|
||||
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch One Desktop Down"
|
||||
git gui &
|
||||
sleep 1.5
|
||||
# qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Window Maximize"
|
||||
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch One Desktop Up"
|
||||
}
|
||||
|
||||
# cd to npm home
|
||||
npmHome(){
|
||||
cd ~/.node_modules_mine;
|
||||
bash-session
|
||||
}
|
||||
|
||||
# cmd <inputfile> .csv to json using miller cli
|
||||
csvToJson(){
|
||||
mlr --c2j --jlistwrap cat "$1"
|
||||
}
|
||||
|
||||
# list available fonts for a language.
|
||||
# Usage: THIS_FN <lang_code>
|
||||
fonts_for_lang(){
|
||||
@@ -33,6 +125,11 @@ ocr(){
|
||||
http-server -o
|
||||
}
|
||||
|
||||
# resize pdf <input> <output>
|
||||
pdfResize(){
|
||||
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dDownsampleColorImages=true -dColorImageResolution=94 -dNOPAUSE -dBATCH -sOutputFile="$2" "$1"
|
||||
}
|
||||
|
||||
# Open many ssh sessions in separate tabs in gnome-terminal
|
||||
sshInTabs(){
|
||||
logins="$@"
|
||||
@@ -58,6 +155,7 @@ clearSysRq(){
|
||||
|
||||
# Print current public ip using ipify API
|
||||
myIp(){
|
||||
set -x
|
||||
curl 'https://api.ipify.org?format=json'
|
||||
}
|
||||
|
||||
@@ -192,6 +290,23 @@ kwinCompositorReload(){
|
||||
qdbus-qt5 org.kde.KWin /Compositor resume
|
||||
}
|
||||
|
||||
# Clone git with custom key
|
||||
# gitclone <url> [ssh_key_path]
|
||||
gitClone(){
|
||||
set -x
|
||||
local url="$1"
|
||||
shift
|
||||
local sshkey="$1"
|
||||
if [[ -n "$sshkey" ]]; then
|
||||
export GIT_SSH_COMMAND="ssh -i '$sshkey'"
|
||||
fi
|
||||
targetDir=$(basename "$url")
|
||||
targetDir=${targetDir/.git/}
|
||||
git clone "$url" "$targetDir"
|
||||
cd "$targetDir"
|
||||
git config core.sshCommand "$GIT_SSH_COMMAND"
|
||||
}
|
||||
|
||||
# format cookies copied from chrome cookie table
|
||||
# Usage cat file | formatChromeCookie domain.com
|
||||
formatChromeCookie(){
|
||||
@@ -221,7 +336,8 @@ subtitleBurn(){
|
||||
|
||||
# Gen random password
|
||||
genPassword(){
|
||||
node -p "require('base-x')('!#$%&()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}~' ).encode( crypto.randomBytes(${1:-15}) )"
|
||||
cd ~/.node_modules_mine;
|
||||
node -p "require('base-x').default('!#$%&()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}~' ).encode( crypto.randomBytes(${1:-15}) )"
|
||||
}
|
||||
|
||||
# Convert json to csv with column headers
|
||||
@@ -274,18 +390,153 @@ pulseTcpStop(){
|
||||
pactl unload-module module-native-protocol-tcp
|
||||
}
|
||||
|
||||
#list scsi devices
|
||||
# list scsi devices
|
||||
scsiList(){
|
||||
cat /proc/scsi/scsi
|
||||
}
|
||||
|
||||
#remove scsi device
|
||||
# remove scsi device
|
||||
scsiRemoveDevice(){
|
||||
cat <<EOF
|
||||
echo "scsi remove-single-device 7 0 0 0" > /proc/scsi/scsi
|
||||
EOF
|
||||
}
|
||||
|
||||
|
||||
# Put system into sleep in sway
|
||||
swaysleep(){
|
||||
swaylock & systemctl suspend
|
||||
}
|
||||
|
||||
# Start php with xdebug
|
||||
phpdebugsrv(){
|
||||
php -S 127.0.0.1:8000 -d xdebug.mode=develop,debug -d xdebug.start_with_request=yes $@
|
||||
}
|
||||
|
||||
# Restart sound system
|
||||
soundRestart(){
|
||||
systemctl --user restart pipewire
|
||||
}
|
||||
|
||||
|
||||
# Run any application with ibus support
|
||||
ibusRun(){
|
||||
env GTK_IM_MODULE=ibus QT_IM_MODULE=ibus XMODIFIERS=@im=ibus $@
|
||||
}
|
||||
|
||||
# Refresh font cache
|
||||
fontCacheRefresh(){
|
||||
fc-cache -f -v
|
||||
}
|
||||
|
||||
# tell yarn to use node_modules directory
|
||||
yarnUseNodemodules(){
|
||||
yarn config set nodeLinker node-modules
|
||||
}
|
||||
|
||||
# usbreset
|
||||
usbreset(){
|
||||
set -x
|
||||
buses=$(lspci | grep USB | cut -d' ' -f1)
|
||||
for i in $buses; do
|
||||
echo -n "0000:$i" | sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind
|
||||
sleep 0.5
|
||||
echo -n "0000:$i" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind
|
||||
done
|
||||
}
|
||||
|
||||
# Make sample pdf file
|
||||
# mk-sample-pdf [count=10] [prefix=sample-]
|
||||
mk-sample-pdf(){
|
||||
count=${1:-10}
|
||||
prefix=${2:-sample}
|
||||
for i in `seq 1 $count`; do printf "Sample PDF #%02d\nThis is test PDF number %02d\n" "$i" "$i" | enscript -B -o - | ps2pdf - "${prefix}_$i.pdf"; done
|
||||
}
|
||||
|
||||
|
||||
# Mysql dump all database
|
||||
# mysqldump [ mysql connection args... ]
|
||||
mysqldump(){
|
||||
set -x
|
||||
mysql $@ -e "SHOW DATABASES;" \
|
||||
| grep -Ev "(Database|information_schema|performance_schema|sys|mysql)" \
|
||||
| xargs -I % sh -c "mysqldump $( echo $@ ) --insert-ignore --triggers --events --complete-insert --single-transaction --extended-insert --quick % | gzip > %_$(date +%Y%m%d_%H%M%S).sql.gz"
|
||||
}
|
||||
|
||||
# Make ssh tunnel
|
||||
sshMkTunne(){
|
||||
cat<<EOF
|
||||
cat<<EEE >> ~/.ssh/config
|
||||
Host *
|
||||
ServerAliveInterval 40
|
||||
EEE
|
||||
|
||||
while :; do ssh -NT -R 4025:127.0.0.1:22 myguest@${1:-myserver}; sleep 10; done;
|
||||
EOF
|
||||
}
|
||||
|
||||
# Usage: mysqlCreateDbUser <username> [password] [database]
|
||||
mysqlCreateDbUser() {
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Usage: ${FUNCNAME[0]} <username> [password] [database]" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
local randPass=$(openssl rand -base64 18)
|
||||
local username="$1"
|
||||
local defDbName="${username}_db"
|
||||
local user_password="${2:-$randPass}"
|
||||
local db_name="${3:-$defDbName}"
|
||||
|
||||
# Validate username
|
||||
if [[ -z "$username" || "$username" =~ [^a-zA-Z0-9_-] ]]; then
|
||||
echo "Error: Invalid username. Only alphanumeric, hyphen, and underscore allowed." >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
echo -e "-- Using password '$user_password' for user '$username' and creating database '$db_name' \n"
|
||||
|
||||
# Execute MySQL commands
|
||||
cat<<EOF
|
||||
CREATE DATABASE IF NOT EXISTS \`$db_name\`;
|
||||
CREATE USER '$username'@'%' IDENTIFIED BY '$user_password';
|
||||
GRANT ALL PRIVILEGES ON \`$db_name\`.* TO '$username'@'%';
|
||||
FLUSH PRIVILEGES;
|
||||
EOF
|
||||
}
|
||||
|
||||
# Create duckdb from csv. Usage csv2duckdb <csv-file>
|
||||
csv2duckdb(){
|
||||
csv=$1;
|
||||
dirName="$(dirname $csv)"
|
||||
tbl="$(basename $csv)"
|
||||
tbl=${tbl%.*};
|
||||
tbl="$(echo $tbl | sed 's/[^[:alnum:]]/_/g' )";
|
||||
echo "CREATE TABLE $tbl AS SELECT * FROM '$csv';" | duckdb "$dirName/$tbl.duckdb" ;
|
||||
}
|
||||
|
||||
# Create sqlite3 db from csv. Usage csv2sqlite <csv-file>
|
||||
csv2sqlite(){
|
||||
csv=$1;
|
||||
dirName="$(dirname $csv)"
|
||||
tbl="$(basename $csv)"
|
||||
tbl=${tbl%.*};
|
||||
tbl="$(echo $tbl | sed 's/[^[:alnum:]]/_/g' )";
|
||||
echo "ATTACH '$dirName/$tbl.db' AS sqdb (TYPE sqlite); CREATE TABLE sqdb.$tbl AS SELECT * FROM '$csv';" | duckdb ;
|
||||
}
|
||||
|
||||
# Expose port of container using pasta. pastaExpose <container> <portmapping>
|
||||
pastaExpose(){
|
||||
cont=$1;
|
||||
portMapping=$2;
|
||||
contPid=$(podman inspect -f '{{.State.Pid}}' $cont);
|
||||
# pasta -f --config-net -t $portMapping -u none -T none -U none --no-map-gw $contPid;
|
||||
pasta -f --config-net -t $portMapping --dns-forward 169.254.1.1 -u none -T none -U none --no-map-gw --map-guest-addr 169.254.1.2 $contPid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
#### END OF USER FUNCTIONS ####
|
||||
# Setup autocomplete. run eval "$(THIS_FILE setup-autocomplete)"
|
||||
setup-autocomplete(){
|
||||
cat<<EOF
|
||||
|
||||
+112
@@ -0,0 +1,112 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import subprocess
|
||||
import datetime
|
||||
import os
|
||||
import gzip
|
||||
import shutil
|
||||
import argparse
|
||||
import sys
|
||||
import fnmatch
|
||||
import logging
|
||||
|
||||
def get_args():
|
||||
parser = argparse.ArgumentParser(description="High-performance MySQL multi-database backup tool.")
|
||||
parser.add_argument("-H", "--host", default="localhost", help="MySQL Host")
|
||||
parser.add_argument("-P", "--port", default="3306", help="MySQL Port")
|
||||
parser.add_argument("-u", "--user", required=True, help="MySQL Username")
|
||||
parser.add_argument("-p", "--password", required=True, help="MySQL Password")
|
||||
parser.add_argument("-o", "--output", default="backups", help="Output directory")
|
||||
parser.add_argument("-x", "--exclude", action="append", default=[],
|
||||
help="Pattern to exclude (e.g., 'test_*'). Can be used multiple times.")
|
||||
# Added verbose flag
|
||||
parser.add_argument("-v", "--verbose", action="store_true", help="Print executed commands and detailed logs")
|
||||
return parser.parse_args()
|
||||
|
||||
def should_exclude(db_name, patterns):
|
||||
system_dbs = ('information_schema', 'performance_schema', 'sys', 'mysql', 'Database')
|
||||
if db_name in system_dbs:
|
||||
return True
|
||||
for pattern in patterns:
|
||||
if fnmatch.fnmatch(db_name, pattern):
|
||||
return True
|
||||
return False
|
||||
|
||||
def run_backup():
|
||||
args = get_args()
|
||||
|
||||
# Configure logging based on verbose flag
|
||||
log_level = logging.DEBUG if args.verbose else logging.INFO
|
||||
logging.basicConfig(format='%(levelname)s: %(message)s', level=log_level)
|
||||
|
||||
if not os.path.exists(args.output):
|
||||
logging.debug(f"Creating output directory: {args.output}")
|
||||
os.makedirs(args.output)
|
||||
|
||||
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
||||
|
||||
# Hide password in logs for security, even in verbose mode
|
||||
safe_conn_flags = ['-h', args.host, '-P', args.port, '-u', args.user, '-p****']
|
||||
real_conn_flags = ['-h', args.host, '-P', args.port, '-u', args.user, f'-p{args.password}']
|
||||
|
||||
try:
|
||||
# 1. Fetch Database List
|
||||
fetch_cmd = ['mysql'] + real_conn_flags + ['-e', 'SHOW DATABASES;', '-N', '-s']
|
||||
logging.debug(f"Executing: {' '.join(['mysql'] + safe_conn_flags + fetch_cmd[-3:])}")
|
||||
|
||||
proc = subprocess.run(fetch_cmd, capture_output=True, text=True, check=True)
|
||||
raw_databases = proc.stdout.split()
|
||||
|
||||
databases = [db for db in raw_databases if not should_exclude(db, args.exclude)]
|
||||
|
||||
if not databases:
|
||||
logging.info("No databases found matching the criteria.")
|
||||
return
|
||||
|
||||
logging.info(f"Starting backup for {len(databases)} databases...")
|
||||
|
||||
for db in databases:
|
||||
filename = f"{db}_{timestamp}.sql.gz"
|
||||
filepath = os.path.join(args.output, filename)
|
||||
|
||||
dump_cmd = [
|
||||
'mysqldump'
|
||||
] + real_conn_flags + [
|
||||
'--single-transaction',
|
||||
'--extended-insert',
|
||||
'--quick',
|
||||
'--disable-keys',
|
||||
'--no-autocommit',
|
||||
db
|
||||
]
|
||||
|
||||
# Detailed log of the dump command
|
||||
safe_dump_cmd = ['mysqldump'] + safe_conn_flags + dump_cmd[7:]
|
||||
logging.debug(f"Executing: {' '.join(safe_dump_cmd)} | gzip > {filepath}")
|
||||
|
||||
logging.info(f" -> Backing up: {db}")
|
||||
|
||||
with subprocess.Popen(dump_cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) as dump_proc:
|
||||
with gzip.open(filepath, 'wb', compresslevel=6) as f_out:
|
||||
shutil.copyfileobj(dump_proc.stdout, f_out)
|
||||
|
||||
dump_proc.wait()
|
||||
|
||||
if dump_proc.returncode != 0:
|
||||
error_msg = dump_proc.stderr.read().decode()
|
||||
logging.error(f"Failed to backup {db}: {error_msg}")
|
||||
else:
|
||||
logging.debug(f"Successfully completed {db}")
|
||||
|
||||
logging.info("All tasks completed.")
|
||||
|
||||
except subprocess.CalledProcessError as e:
|
||||
# Even errors should hide the password
|
||||
logging.error("Connection failed. Check your credentials and host settings.")
|
||||
sys.exit(1)
|
||||
except Exception as e:
|
||||
logging.error(f"Unexpected error: {e}")
|
||||
sys.exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
run_backup()
|
||||
+150
@@ -0,0 +1,150 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import subprocess
|
||||
import json
|
||||
import math
|
||||
|
||||
def exec(cmd):
|
||||
print('exec: ', cmd)
|
||||
return subprocess.getoutput(cmd)
|
||||
|
||||
def getSwayInfo(cmd):
|
||||
return json.loads(exec("swaymsg -t "+cmd))
|
||||
|
||||
|
||||
class WpManager(object):
|
||||
|
||||
""""
|
||||
* Workspace Manager
|
||||
"""
|
||||
def __init__(self,Rows, Cols, monitorCount):
|
||||
w = 0
|
||||
workspaces = []
|
||||
r=0
|
||||
while r < Rows:
|
||||
c = 0
|
||||
while c < Cols:
|
||||
workspaces.append({
|
||||
'left': c != 0 and w - 1,
|
||||
'right': ( ( c + 1 ) != Cols ) and w + 1,
|
||||
'up': ( r != 0 ) and ( w - Cols ),
|
||||
'down': ( ( r + 1 ) != Rows ) and w + Cols
|
||||
})
|
||||
w=w+1
|
||||
c=c+1
|
||||
r=r+1
|
||||
self.workspaces = workspaces
|
||||
self.Rows = Rows
|
||||
self.Cols = Cols
|
||||
self.monitorCount = monitorCount
|
||||
|
||||
|
||||
""""
|
||||
* Workspace grid initialisation command generator.
|
||||
* Currenlty not working because `Workspace` command will not work through `swaymsg`.
|
||||
* it will work only if we put these commands on config file
|
||||
"""
|
||||
def getInitCmd (self):
|
||||
outputs = [ v['name'] for v in getSwayInfo('get_outputs') if v['active']]
|
||||
outputCout = len( outputs )
|
||||
totalWorkspaces = self.Rows * self.Cols
|
||||
cmd = []
|
||||
ws=0
|
||||
while ws < totalWorkspaces:
|
||||
op = 0
|
||||
while op < outputCout:
|
||||
cmd.append("workspace " + str(ws * outputCout + op + 1) + " output "+outputs[op])
|
||||
op=op+1
|
||||
ws=ws+1
|
||||
|
||||
|
||||
return ';\n'.join(cmd)
|
||||
|
||||
|
||||
""""
|
||||
* Return the list of target workspaces.
|
||||
*
|
||||
* Given current focused workspace and switching direction. eg: ( 1, down )
|
||||
* for a 3x3 grid in a dual monitor, it will reutrn [ 7, 8 ].
|
||||
* for single monitor setup, it will return [ 4 ]
|
||||
* For three monitor setup, it will return [ 10, 11, 12 ]
|
||||
*
|
||||
* @param current - current monitor
|
||||
* @param direction - direction up|down|right|left
|
||||
* @returns {Array<Number>} - list of target workspaces
|
||||
"""
|
||||
def getWorkspaces (self,current, direction):
|
||||
monitorCount = self.monitorCount
|
||||
out = []
|
||||
targetw = self.workspaces[math.ceil(current / monitorCount) - 1][direction]
|
||||
if targetw is not False:
|
||||
targetw = targetw * monitorCount
|
||||
i = monitorCount
|
||||
while i != 0:
|
||||
out.append(targetw + i)
|
||||
i=i-1
|
||||
|
||||
return out
|
||||
|
||||
|
||||
|
||||
""""
|
||||
* Get swaymsg command for switching current Workspace to <direction> direction
|
||||
*
|
||||
* @param swayWorkspace
|
||||
* @param direction
|
||||
* @param isMove
|
||||
* @returns {String} - swaymsg command
|
||||
"""
|
||||
def getCmd (self,swayWorkspace, direction, isMove):
|
||||
currentWS = swayWorkspace['num']
|
||||
currentOutput = swayWorkspace['output']
|
||||
ws = self.getWorkspaces(currentWS, direction)
|
||||
if not ws:
|
||||
return
|
||||
|
||||
out = ["workspace %d"%v for v in ws ]
|
||||
if isMove:
|
||||
tws = ws[currentWS % self.monitorCount]
|
||||
out.insert(0,"move container to workspace %d"%tws)
|
||||
|
||||
out.append("focus output "+currentOutput)
|
||||
return '; '.join(out)
|
||||
|
||||
helpStr = '''
|
||||
sway-wp-switch
|
||||
Usage:
|
||||
sway-wp-switch [ -m ] <up|down|right|left>
|
||||
Options:
|
||||
-m move current window to new workspace while switching.
|
||||
If currently focused windows in output-2, it will be placed in output-two itself without losing focus
|
||||
'''
|
||||
def main():
|
||||
import sys
|
||||
direction = sys.argv[1]
|
||||
isMove = False
|
||||
ROWS = 3
|
||||
COLS = 3
|
||||
if direction == '-m':
|
||||
isMove = True
|
||||
direction = sys.argv[2]
|
||||
if direction not in ['up', 'down', 'right', 'left', '-i']:
|
||||
print(helpStr)
|
||||
return
|
||||
|
||||
outputInfo = getSwayInfo('get_outputs')
|
||||
outputInfo = [v for v in outputInfo if v['active'] ]
|
||||
wm = WpManager(ROWS, COLS, len( outputInfo ))
|
||||
if direction == '-i':
|
||||
cmd = wm.getInitCmd()
|
||||
print(cmd)
|
||||
cmd=''
|
||||
else:
|
||||
workspaceInfo = next(v for v in getSwayInfo('get_workspaces') if v[ 'focused' ] )
|
||||
cmd = wm.getCmd(workspaceInfo, direction, isMove)
|
||||
|
||||
if cmd:
|
||||
exec('swaymsg -t command "%s"'% cmd)
|
||||
|
||||
|
||||
main()
|
||||
@@ -2,3 +2,6 @@
|
||||
./bin/hari-tools.sh
|
||||
./bin/bash-session
|
||||
./bin/ibus-next-engine.py
|
||||
./bin/csv-split-by-col.py
|
||||
./bin/sway-wp-switch
|
||||
./bin/mysql-backup.py
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
_complete_hdutils(){
|
||||
saveIFS=$IFS
|
||||
IFS=$'\n'
|
||||
case $COMP_CWORD in
|
||||
1)
|
||||
COMPREPLY=( $( compgen -W "$( /home/harish/.local/bin/hari-tools.sh list-commands )" -- "${COMP_WORDS[COMP_CWORD]}") )
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -o default -- "${COMP_WORDS[COMP_CWORD]}") )
|
||||
;;
|
||||
esac
|
||||
IFS="$saveIFS"
|
||||
return 0
|
||||
}
|
||||
complete -F _complete_hdutils hari-tools.sh
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Download following
|
||||
# 1. https://github.com/cube2222/octosql
|
||||
# 2. https://github.com/TomWright/dasel
|
||||
# 3. https://github.com/multiprocessio/dsq
|
||||
# 4. https://github.com/roapi/roapi
|
||||
# 5. https://github.com/dcmoura/spyql
|
||||
|
||||
Projects=(
|
||||
https://github.com/cube2222/octosql
|
||||
https://github.com/TomWright/dasel
|
||||
https://github.com/multiprocessio/dsq
|
||||
https://github.com/roapi/roapi
|
||||
https://github.com/dcmoura/spyql
|
||||
)
|
||||
|
||||
getTarball(){
|
||||
local projUrl=$1
|
||||
local githubRepo=$(echo $projUrl | sed 's#https://github.com/##g')
|
||||
local tarballs=$(curl -s "https://api.github.com/repos/$githubRepo/releases/latest" | grep 'browser_download_url.*gz' | grep -E 'amd64|x86_64' | grep linux | cut -d'"' -f4)
|
||||
echo $tarballs
|
||||
}
|
||||
|
||||
downloadPkg(){
|
||||
local projUrl=$1
|
||||
latestTarball=$(getTarball "$projUrl")
|
||||
echo wget -c "$latestTarball"
|
||||
}
|
||||
|
||||
main(){
|
||||
for projUrl in ${Projects[@]} ; do
|
||||
downloadPkg "$projUrl"
|
||||
done
|
||||
}
|
||||
|
||||
main
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
mkdir -p ~/.local/share/tkthemes
|
||||
cp -r /usr/share/PySolFC/themes/clearlooks/ ~/.local/share/tkthemes/
|
||||
echo "export TCLLIBPATH=~/.local/share/tkthemes" >> ~/.bashrc
|
||||
nv ~/.Xdefaults
|
||||
@@ -0,0 +1 @@
|
||||
./html-editor-grapejs.sh
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
THIS_DIR=$(dirname $(readlink -f $0))
|
||||
|
||||
cd $THIS_DIR
|
||||
|
||||
python -m http.server 8082
|
||||
@@ -0,0 +1,46 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>html editor</title>
|
||||
<script type="text/javascript" src="https://unpkg.com/grapesjs"></script>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="https://unpkg.com/grapesjs-blocks-basic"
|
||||
></script>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
href="https://unpkg.com/grapesjs/dist/css/grapes.min.css"
|
||||
/>
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
body,
|
||||
html {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="gjs">
|
||||
<div class="col col-md-12">
|
||||
<h2>Welcome</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" >
|
||||
const editor = grapesjs.init({
|
||||
container: "#gjs",
|
||||
fromElement: 1,
|
||||
height: "100%",
|
||||
storageManager: false,
|
||||
plugins: ["gjs-blocks-basic"],
|
||||
avoidInlineStyle: 1,
|
||||
});
|
||||
|
||||
editor.getModel().set("dmode", "absolute");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,4 @@
|
||||
@page{
|
||||
size: A3;
|
||||
margin: 0mm 0mm 0mm 0mm;
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
--[[
|
||||
LazyVim configuration migrated from LunarVim
|
||||
]]
|
||||
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.uv.fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({
|
||||
-- Core LazyVim distribution (must be first)
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins", version = "*" },
|
||||
|
||||
-- Extras (use :LazyExtras to browse all available extras)
|
||||
{ import = "lazyvim.plugins.extras.dap.core" },
|
||||
|
||||
-- Import user plugins from lua/plugins/*.lua
|
||||
{ import = "plugins" },
|
||||
}, {
|
||||
defaults = { lazy = true, version = "*" },
|
||||
install = { colorscheme = { "habamax" } },
|
||||
checker = { enabled = true },
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
"gzip",
|
||||
"matchit",
|
||||
"matchparen",
|
||||
"netrwPlugin",
|
||||
"tarPlugin",
|
||||
"tohtml",
|
||||
"tutor",
|
||||
"zipPlugin",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"LazyVim": { "branch": "main", "commit": "c10948c50b18fae7f256433afdef09e432410480" },
|
||||
"LuaSnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" },
|
||||
"NrrwRgn": { "branch": "master", "commit": "e027db9d94f94947153cd7b5ac9abd04371ab2b0" },
|
||||
"SchemaStore.nvim": { "branch": "main", "commit": "322751401046ae2dbbe32eeb31992a5d4fcc8d92" },
|
||||
"auto-session": { "branch": "main", "commit": "79ef41274354a486cf4f100a7adf4a7575802ccf" },
|
||||
"blink-copilot": { "branch": "main", "commit": "41e91a659bd9b8cba9ba2ea68a69b52ba5a9ebd8" },
|
||||
"blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" },
|
||||
"bracey.vim": { "branch": "master", "commit": "4e1a22acc01787814819df1057d039d4ecf357eb" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||
"catppuccin": { "branch": "main", "commit": "605b4603797de970e9f3a4238c199c850da03186" },
|
||||
"conform.nvim": { "branch": "master", "commit": "3543d000dafbc41cc7761d860cfdb24e82154f75" },
|
||||
"copilot.lua": { "branch": "master", "commit": "dada2f90220861d6e9d30eca6a3997cf5d0c9936" },
|
||||
"editorconfig.nvim": { "branch": "master", "commit": "2af880947129f1ab776b732a4eecb92528472ef5" },
|
||||
"emmet-vim": { "branch": "master", "commit": "92ef2f74f4093edc99db5e9e4cf7e40116a85bd6" },
|
||||
"flash.nvim": { "branch": "main", "commit": "ec0bf2842189f65f60fd40bf3557cac1029cc932" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "a462f416e2ce4744531c6256252dee99a7d34a83" },
|
||||
"grug-far.nvim": { "branch": "main", "commit": "c69859c1d5427ab5fc7ed12380ab521b4e336691" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||
"lazydev.nvim": { "branch": "main", "commit": "01bc2aacd51cf9021eb19d048e70ce3dd09f7f93" },
|
||||
"live-server.nvim": { "branch": "main", "commit": "85915d0e7dd926a54b0082aaeafc10a82bfe8288" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "221ce6b2d999187044529f49da6554a92f740a96" },
|
||||
"markdown-preview.nvim": { "branch": "main", "commit": "5fec271fb91c7be7eca11d5b1c8da16add12e205" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a5671269a1ddfa7790cdf97c14e600e269da550f" },
|
||||
"mason-nvim-dap.nvim": { "branch": "main", "commit": "e51f9b259f066c4347f9a79ffde54c29a0619384" },
|
||||
"mason.nvim": { "branch": "main", "commit": "2a6940af80375532e5e9e7c1f2fc6319a1b7a69d" },
|
||||
"mini.ai": { "branch": "main", "commit": "d73c36349aa7b0bab5f77ad71701a1d42211a1df" },
|
||||
"mini.icons": { "branch": "main", "commit": "e56797f90192d81f1fda02e662fc3e8e3d775027" },
|
||||
"mini.pairs": { "branch": "main", "commit": "4a014143fcb4e9df26198ccb3ecff3b9e77a048c" },
|
||||
"mini.surround": { "branch": "main", "commit": "580e4cb98c5900d9fe743865fb5a5b2178b4ab18" },
|
||||
"noice.nvim": { "branch": "main", "commit": "cf758e9df66451889aab56613a21b8673f045ec2" },
|
||||
"nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
|
||||
"nvim-dap": { "branch": "master", "commit": "6a5bba0ddea5d419a783e170c20988046376090d" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "f7d75cca202b52a60c520ec7b1ec3414d6e77b0f" },
|
||||
"nvim-dap-virtual-text": { "branch": "master", "commit": "fbdb48c2ed45f4a8293d0d483f7730d24467ccb6" },
|
||||
"nvim-lint": { "branch": "master", "commit": "01c9842c089069ab497430159312b2c8868a4590" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "229b79051b380377664edc4cbd534930154921a1" },
|
||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||
"nvim-surround": { "branch": "main", "commit": "2e93e154de9ff326def6480a4358bfc149d5da2c" },
|
||||
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
|
||||
"nvim-treesitter-textobjects": { "branch": "main", "commit": "851e865342e5a4cb1ae23d31caf6e991e1c99f1e" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" },
|
||||
"persistence.nvim": { "branch": "main", "commit": "c45ff862b53ce07a853a753fb0b33e148dbb99d2" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "50012918b2fc8357b87cff2a7f7f0446e47da174" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "e6fd58c82f2f3fcddd3fe81703d47d6d48fc7b9f" },
|
||||
"tabular": { "branch": "master", "commit": "7bd1d0de5d390834220b7d0a791bb9734fafa0cc" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "545d72cde6400835d895160ecb5853874fd5156d" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "748ca2789044607f19786b1d837044544c55e80a" },
|
||||
"ts-comments.nvim": { "branch": "main", "commit": "79e4337e4231ff8ca33dab85162b5ee8e78f22ce" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "96c1009fcf8ce60161cc938d149dd5a66d570756" },
|
||||
"vim-gnupg": { "branch": "main", "commit": "6d106fa49df3d8c1e63fac8eb64b4a0174f7e83f" },
|
||||
"vim-snippets": { "branch": "master", "commit": "4ed409154bcaa32fba6fd153cc0c915e44982872" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "fcbf4eea17cb299c02557d576f0d568878e354a4" }
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"extras": [
|
||||
"lazyvim.plugins.extras.ai.copilot",
|
||||
"lazyvim.plugins.extras.formatting.prettier",
|
||||
"lazyvim.plugins.extras.lang.docker",
|
||||
"lazyvim.plugins.extras.lang.json",
|
||||
"lazyvim.plugins.extras.lang.typescript"
|
||||
],
|
||||
"install_version": 8,
|
||||
"news": {
|
||||
"NEWS.md": "11866"
|
||||
},
|
||||
"version": 8
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
-- @section commands
|
||||
-- Custom user commands migrated from LunarVim's config.lua vim.cmd block
|
||||
|
||||
--- @section commands-grep
|
||||
-- Gr: Search with grep and show results in quickfix list
|
||||
vim.api.nvim_create_user_command("Gr", function(input)
|
||||
vim.cmd("silent execute 'grep! " .. input.args .. " | copen'")
|
||||
end, { nargs = "+", desc = "Grep and open quickfix list" })
|
||||
|
||||
-- Grc: Raw grep command (no quickfix auto-open)
|
||||
vim.api.nvim_create_user_command("Grc", function(input)
|
||||
vim.cmd("grep " .. input.args)
|
||||
end, { nargs = "*", desc = "Run grep without quickfix" })
|
||||
|
||||
--- @section commands-file
|
||||
-- Header: Add file header via external script
|
||||
vim.api.nvim_create_user_command("Header", function()
|
||||
vim.cmd("0r!file-header '%'")
|
||||
end, { desc = "Add file header from external file-header script" })
|
||||
|
||||
-- Termw: Open konsole terminal emulator
|
||||
vim.api.nvim_create_user_command("Termw", function()
|
||||
vim.cmd("!konsole -e bash-session &")
|
||||
end, { desc = "Open konsole terminal" })
|
||||
|
||||
-- Term: Open embedded terminal in a horizontal split
|
||||
vim.api.nvim_create_user_command("Term", function()
|
||||
vim.cmd("sp | term")
|
||||
end, { desc = "Open terminal in split window" })
|
||||
|
||||
-- EditSnippet: Open LuaSnip snippet files for editing
|
||||
vim.api.nvim_create_user_command("EditSnippet", function()
|
||||
require("luasnip.loaders").edit_snippet_files()
|
||||
end, { desc = "Edit LuaSnip snippet files" })
|
||||
|
||||
-- Cwd: Change working directory to current file's directory
|
||||
vim.api.nvim_create_user_command("Cwd", function()
|
||||
vim.cmd("cd %:p:h")
|
||||
end, { desc = "Change directory to current file" })
|
||||
|
||||
-- Tcd: Change tab-local working directory to current file's directory
|
||||
vim.api.nvim_create_user_command("Tcd", function()
|
||||
vim.cmd(":tcd %:p:h")
|
||||
end, { desc = "Change tab directory to current file" })
|
||||
|
||||
-- Reload: Reload all buffers from disk
|
||||
vim.api.nvim_create_user_command("Reload", function()
|
||||
vim.cmd("bufdo execute 'checktime . bufnr('%')'")
|
||||
end, { desc = "Reload all buffers" })
|
||||
|
||||
-- Rm: Delete current file from disk and close buffer
|
||||
vim.api.nvim_create_user_command("Rm", function()
|
||||
vim.cmd("!rm % | bd")
|
||||
end, { desc = "Delete file and close buffer" })
|
||||
|
||||
-- CopyFilename: Copy current file path to system clipboard
|
||||
vim.api.nvim_create_user_command("CopyFilename", function()
|
||||
vim.fn.setreg("+", vim.fn.expand("%"))
|
||||
end, { desc = "Copy file path to clipboard" })
|
||||
|
||||
-- Code: Open current file in VS Code at current line
|
||||
vim.api.nvim_create_user_command("Code", function()
|
||||
vim.cmd("!code ./ -g %:" .. (vim.fn.line(".") + 1))
|
||||
end, { desc = "Open in VS Code at current line" })
|
||||
|
||||
-- <C-G>: Live grep word under cursor via Snacks picker
|
||||
vim.keymap.set("n", "<C-G>", function()
|
||||
LazyVim.pick("live_grep", { default_text = vim.fn.expand("<cword>") })()
|
||||
end, { desc = "Snacks grep word under cursor" })
|
||||
|
||||
-- @section autocmds-filetype
|
||||
-- Caddyfile: Set filetype for Caddyfile (any path, any name containing "Caddyfile")
|
||||
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||
pattern = "*Caddyfile",
|
||||
callback = function()
|
||||
vim.bo.filetype = "caddy"
|
||||
end,
|
||||
desc = "Detect Caddyfile filetype",
|
||||
})
|
||||
|
||||
-- @section autocmds-emmet
|
||||
-- Emmet: Enable Emmet for web development filetypes (migrated from LunarVim)
|
||||
-- Disabled by default for all filetypes; enabled only for these specific filetypes.
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- pattern = { "html", "css", "vue", "jsx", "php", "javascriptreact" },
|
||||
-- callback = function()
|
||||
-- vim.cmd("EmmetInstall")
|
||||
-- end,
|
||||
-- desc = "Enable Emmet for web filetypes",
|
||||
-- })
|
||||
|
||||
-- @section config-grepprg
|
||||
-- Set grep program to `ag` (preserved from LunarVim)
|
||||
-- LazyVim defaults to `rg --vimgrep`. This overrides it.
|
||||
vim.opt.grepprg = "ag --vimgrep"
|
||||
@@ -0,0 +1,103 @@
|
||||
-- @section keymaps
|
||||
-- Custom keymaps migrated from LunarVim config.
|
||||
-- LazyVim already defines many keymaps (e.g. <C-s> for save, <S-h/l> for buffer prev/next,
|
||||
-- <leader>bd for delete buffer). Only keymaps that add to or differ from LazyVim defaults
|
||||
-- are listed here. Grouped by function with @section markers.
|
||||
|
||||
local map = vim.keymap.set
|
||||
|
||||
--- @section keymaps-buffers
|
||||
-- Meta+number: Jump to specific buffer (via BufferLine)
|
||||
-- LazyVim provides <leader>bj for BufferLinePick (interactive pick).
|
||||
-- These direct-access keys are preserved from your LunarVim config.
|
||||
for i = 1, 9 do
|
||||
map("n", "<M-" .. i .. ">", function()
|
||||
vim.cmd("BufferLineGoToBuffer " .. i)
|
||||
end, { desc = "Go to buffer " .. i })
|
||||
end
|
||||
|
||||
--- @section keymaps-picker
|
||||
-- <C-p>: Quick file find (Snacks picker replaces your Telescope "fd" picker)
|
||||
map("n", "<C-p>", function()
|
||||
LazyVim.pick("files")()
|
||||
end, { desc = "Find Files" })
|
||||
|
||||
--- @section keymaps-external
|
||||
-- Launch external tools from Neovim
|
||||
map("n", "<Leader><Leader>t", ":!konsole&<CR>", { desc = "Open Konsole terminal" })
|
||||
map("n", "<Leader><Leader>g", ":!git gui &<CR>", { desc = "Open Git GUI" })
|
||||
|
||||
--- @section keymaps-file
|
||||
-- File-level operations
|
||||
map("n", "<M-r>", ":e!<CR>", { desc = "Reload current file (discard changes)" })
|
||||
map("n", "<M-q>", function()
|
||||
Snacks.bufdelete()
|
||||
end, { desc = "Delete current buffer (preserves window layout)" })
|
||||
map("n", "<M-Q>", ":bd!<CR>", { desc = "Force delete buffer and close window" })
|
||||
|
||||
--- @section keymaps-comment
|
||||
-- Toggle comment with Space+/ (normal and visual)
|
||||
map("n", "c<Space>", "gcc", { desc = "Toggle comment", remap = true })
|
||||
map("n", "<Space>/", "gcc", { desc = "Toggle comment", remap = true })
|
||||
-- map("v", "<Space>/", "gc", { desc = "Toggle comment" })
|
||||
|
||||
--- @section keymaps-visual
|
||||
-- Visual mode operations
|
||||
map("v", "<C-h>", '"fy:%s#<C-r>f#', { desc = "Replace all occurrences of selected text" })
|
||||
map("v", "<C-f>", '"fy/<C-r>f', { desc = "Search for selected word" })
|
||||
|
||||
--- @section keymaps-insert
|
||||
-- Insert mode helpers
|
||||
map("i", "<C-CR>", "<ESC>A;", { desc = "Append semicolon at end of line" })
|
||||
map("i", "<C-E>", "<plug>(emmet-expand-abbr)", { desc = "Expand Emmet abbreviation" })
|
||||
|
||||
--- @section keymaps-window
|
||||
-- Window navigation with Alt+arrows (preserved from LunarVim)
|
||||
-- LazyVim defaults have <C-h/j/k/l> for window nav.
|
||||
-- These Alt+arrow mappings give you an alternative.
|
||||
map("n", "<M-Up>", "<C-W>k", { desc = "Move to window above" })
|
||||
map("n", "<M-Down>", "<C-W>j", { desc = "Move to window below" })
|
||||
map("n", "<M-Right>", "<C-W>l", { desc = "Move to window right" })
|
||||
map("n", "<M-Left>", "<C-W>h", { desc = "Move to window left" })
|
||||
|
||||
--- @section keymaps-terminal
|
||||
-- Terminal mode keymaps for window navigation and tab switching
|
||||
map("t", "<C-PageUp>", "<C-\\><C-N><C-PageUp>", { desc = "Terminal: Previous tab" })
|
||||
map("t", "<C-PageDown>", "<C-\\><C-N><C-PageDown>", { desc = "Terminal: Next tab" })
|
||||
map("t", "<M-Up>", "<C-\\><C-N><C-W>k", { desc = "Terminal: Window up" })
|
||||
map("t", "<M-Down>", "<C-\\><C-N><C-W>j", { desc = "Terminal: Window down" })
|
||||
map("t", "<M-Right>", "<C-\\><C-N><C-W>l", { desc = "Terminal: Window right" })
|
||||
map("t", "<M-Left>", "<C-\\><C-N><C-W>h", { desc = "Terminal: Window left" })
|
||||
|
||||
--- @section keymaps-buffer-switch
|
||||
-- Buffer switching keys preserved from LunarVim.
|
||||
-- NOTE: <C-j> and <C-k> conflict with LazyVim's default window navigation
|
||||
-- (<C-j>=window down, <C-k>=window up). Since you use <M-Arrows> for windows,
|
||||
-- these override <C-j/k> to buffer navigation instead.
|
||||
map("n", "<C-PageUp>", ":BufferLineCyclePrev<CR>", { desc = "Previous buffer" })
|
||||
map("n", "<C-PageDown>", ":BufferLineCycleNext<CR>", { desc = "Next buffer" })
|
||||
map("n", "<C-S-PageUp>", ":BufferLineMovePrev<CR>", { desc = "Move buffer left" })
|
||||
map("n", "<C-S-PageDown>", ":BufferLineMoveNext<CR>", { desc = "Move buffer right" })
|
||||
map("n", "<C-j>", ":BufferLineCyclePrev<CR>", { desc = "Previous buffer" })
|
||||
map("n", "<C-k>", ":BufferLineCycleNext<CR>", { desc = "Next buffer" })
|
||||
map("n", "<C-S-j>", ":BufferLineMovePrev<CR>", { desc = "Move buffer left" })
|
||||
map("n", "<C-S-k>", ":BufferLineMoveNext<CR>", { desc = "Move buffer right" })
|
||||
|
||||
--- @section keymaps-tab
|
||||
map("n", "<C-S-T>", ":tabedit<CR>", { desc = "Open new tab" })
|
||||
|
||||
--- @section keymaps-dap
|
||||
-- Quick DAP access keys (dap.core extra provides <leader>d prefix mappings)
|
||||
-- These F-keys provide direct access to the most common debugging actions.
|
||||
map("n", "<F5>", function()
|
||||
require("dap").continue()
|
||||
end, { desc = "DAP: Continue / Start debugging" })
|
||||
map("n", "<F10>", function()
|
||||
require("dap").step_over()
|
||||
end, { desc = "DAP: Step over" })
|
||||
map("n", "<F11>", function()
|
||||
require("dap").step_into()
|
||||
end, { desc = "DAP: Step into" })
|
||||
map("n", "<F12>", function()
|
||||
require("dap").step_out()
|
||||
end, { desc = "DAP: Step out" })
|
||||
@@ -0,0 +1,36 @@
|
||||
-- Bootstrap lazy.nvim
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.uv.fs_stat(lazypath) then
|
||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||
end
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({
|
||||
-- Core LazyVim distribution (must be first)
|
||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins", version = "*" },
|
||||
|
||||
-- Extras (use :LazyExtras to browse all available extras)
|
||||
{ import = "lazyvim.plugins.extras.dap.core" },
|
||||
|
||||
-- Import user plugins from lua/plugins/*.lua
|
||||
{ import = "plugins" },
|
||||
}, {
|
||||
defaults = { lazy = true, version = "*" },
|
||||
install = { colorscheme = { "habamax" } },
|
||||
checker = { enabled = true },
|
||||
performance = {
|
||||
rtp = {
|
||||
disabled_plugins = {
|
||||
"gzip",
|
||||
"matchit",
|
||||
"matchparen",
|
||||
"netrwPlugin",
|
||||
"tarPlugin",
|
||||
"tohtml",
|
||||
"tutor",
|
||||
"zipPlugin",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,12 @@
|
||||
-- @section vim-options
|
||||
-- Override LazyVim default vim options to match your previous LunarVim config.
|
||||
-- LazyVim defaults already include: shiftwidth=2, tabstop=2, number=true, list=true,
|
||||
-- relativenumber=true.
|
||||
|
||||
-- Relativenumber: Your LunarVim config explicitly disabled it.
|
||||
-- LazyVim defaults to true; this overrides it back to false.
|
||||
vim.opt.relativenumber = false
|
||||
|
||||
-- Grepprg: Your LunarVim config used `ag --vimgrep`.
|
||||
-- LazyVim defaults to `rg --vimgrep`. Uncomment below to switch to `ag`:
|
||||
-- vim.opt.grepprg = "ag --vimgrep"
|
||||
@@ -0,0 +1,28 @@
|
||||
-- @section snacks-picker
|
||||
-- Snacks picker configuration preserved from LunarVim's Telescope settings.
|
||||
-- LazyVim defaults to Snacks picker (no extra import needed since the
|
||||
-- defaults system auto-enables it when Telescope/Fzf extras aren't imported).
|
||||
|
||||
-- Telescope's `file_ignore_patterns` handled differently in Snacks:
|
||||
-- Snacks picker uses `fd`/`rg` which respect .gitignore by default.
|
||||
-- Hidden files are shown, and VCS-ignored files are excluded.
|
||||
-- Your original ignore patterns are listed below for reference; you can
|
||||
-- adjust the find command or add global gitignore entries as needed.
|
||||
|
||||
return {
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
opts = function(_, opts)
|
||||
return vim.tbl_deep_extend("force", opts or {}, {
|
||||
picker = {
|
||||
sources = {
|
||||
files = {
|
||||
-- Show hidden files by default (dotfiles)
|
||||
hidden = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
-- @section dap
|
||||
-- DAP (Debug Adapter Protocol) configuration.
|
||||
-- Core DAP support comes from the `lazyvim.plugins.extras.dap.core` extra
|
||||
-- (imported in init.lua), which provides nvim-dap, nvim-dap-ui, and
|
||||
-- <leader>d keybindings.
|
||||
--
|
||||
-- This file adds:
|
||||
-- 1. F-key shortcuts for common debug actions
|
||||
-- 2. PHP debug adapter configuration (migrated from LunarVim)
|
||||
|
||||
return {
|
||||
{
|
||||
"mfussenegger/nvim-dap",
|
||||
-- @section dap-keymaps
|
||||
-- F-key mappings for quick DAP access.
|
||||
-- The dap.core extra already provides <leader>d{letter} bindings;
|
||||
-- these F-keys are additional shortcuts preserved from your LunarVim config.
|
||||
keys = {
|
||||
{ "<F5>", function()
|
||||
require("dap").continue()
|
||||
end, desc = "DAP: Continue / Start" },
|
||||
{ "<F10>", function()
|
||||
require("dap").step_over()
|
||||
end, desc = "DAP: Step Over" },
|
||||
{ "<F11>", function()
|
||||
require("dap").step_into()
|
||||
end, desc = "DAP: Step Into" },
|
||||
{ "<F12>", function()
|
||||
require("dap").step_out()
|
||||
end, desc = "DAP: Step Out" },
|
||||
},
|
||||
-- @section dap-php
|
||||
-- PHP debug adapter setup (migrated from LunarVim)
|
||||
-- Uses php-debug-adapter installed via Mason.
|
||||
-- The adapter listens on port 9003 (Xdebug default).
|
||||
init = function()
|
||||
LazyVim.on_load("nvim-dap", function()
|
||||
local dap = require("dap")
|
||||
dap.adapters.php = {
|
||||
type = "executable",
|
||||
command = "node",
|
||||
args = {
|
||||
vim.fn.stdpath("data")
|
||||
.. "/mason/packages/php-debug-adapter/extension/out/phpDebug.js",
|
||||
},
|
||||
}
|
||||
dap.configurations.php = {
|
||||
{
|
||||
type = "php",
|
||||
request = "launch",
|
||||
name = "Listen for Xdebug",
|
||||
port = 9003,
|
||||
},
|
||||
}
|
||||
end)
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
-- @section lualine
|
||||
-- Lualine statusline customization (migrated from LunarVim).
|
||||
-- Your LunarVim config set lualine_b to show both branch name and current file.
|
||||
-- This extends the default LazyVim lualine_b (which shows just "branch") to
|
||||
-- also show the full file path (%f).
|
||||
|
||||
return {
|
||||
{
|
||||
"nvim-lualine/lualine.nvim",
|
||||
opts = function(_, opts)
|
||||
-- Extend the default lualine_b section to show branch + file path
|
||||
-- (preserved from LunarVim: lvim.builtin.lualine.sections.lualine_b = { 'branch', '%f' })
|
||||
opts.sections = opts.sections or {}
|
||||
opts.sections.lualine_b = { "branch", "%f" }
|
||||
return opts
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,153 @@
|
||||
-- @section plugins
|
||||
-- Extra plugins migrated from LunarVim's `lvim.plugins` list.
|
||||
-- Each plugin is defined as a lazy.nvim spec.
|
||||
|
||||
return {
|
||||
--- @section plugins-editorconfig
|
||||
{
|
||||
"gpanders/editorconfig.nvim",
|
||||
desc = "EditorConfig support (respects .editorconfig files)",
|
||||
},
|
||||
|
||||
--- @section plugins-emmet
|
||||
{
|
||||
"mattn/emmet-vim",
|
||||
desc = "Emmet: HTML/CSS Zen coding expansion",
|
||||
},
|
||||
|
||||
--- @section plugins-fugitive
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
cmd = {
|
||||
"G", "Git", "Gdiffsplit", "Gread", "Gwrite",
|
||||
"Ggrep", "GMove", "GDelete", "GBrowse",
|
||||
"GRemove", "GRename", "Glgrep", "Gedit",
|
||||
},
|
||||
ft = { "fugitive" },
|
||||
desc = "Git integration (tpope)",
|
||||
},
|
||||
{
|
||||
"selimacerbas/live-server.nvim",
|
||||
dependencies = {
|
||||
"folke/which-key.nvim",
|
||||
"nvim-telescope/telescope.nvim", -- recommended for path picker
|
||||
},
|
||||
init = function()
|
||||
-- which-key group label only (best practice)
|
||||
local ok, wk = pcall(require, "which-key")
|
||||
if ok then wk.add({ { "<leader>l", group = "LiveServer" } }) end
|
||||
end,
|
||||
opts = {
|
||||
default_port = 8000,
|
||||
live_reload = { enabled = true, inject_script = true, debounce = 120, css_inject = true },
|
||||
directory_listing = { enabled = true, show_hidden = false },
|
||||
},
|
||||
-- map to user commands (robust lazy-loading)
|
||||
keys = {
|
||||
{ "<leader>ls", "<cmd>LiveServerStart<cr>", desc = "Start (pick path & port)" },
|
||||
{ "<leader>lo", "<cmd>LiveServerOpen<cr>", desc = "Open existing port in browser" },
|
||||
{ "<leader>lr", "<cmd>LiveServerReload<cr>", desc = "Force reload (pick port)" },
|
||||
{ "<leader>lt", "<cmd>LiveServerToggleLive<cr>", desc = "Toggle live-reload (pick port)" },
|
||||
{ "<leader>li", "<cmd>LiveServerStatus<cr>", desc = "Show server status" },
|
||||
{ "<leader>lS", "<cmd>LiveServerStop<cr>", desc = "Stop one (pick port)" },
|
||||
{ "<leader>lA", "<cmd>LiveServerStopAll<cr>", desc = "Stop all" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("live_server").setup(opts)
|
||||
end,
|
||||
},
|
||||
|
||||
--- @section plugins-markdown-preview
|
||||
{
|
||||
"harish2704/markdown-preview.nvim",
|
||||
dependencies = { "selimacerbas/live-server.nvim" },
|
||||
ft = 'markdown',
|
||||
config = function()
|
||||
require("markdown_preview").setup({
|
||||
-- all optional; sane defaults shown
|
||||
instance_mode = "takeover", -- "takeover" (one tab) or "multi" (tab per instance)
|
||||
port = 0, -- 0 = auto (8421 for takeover, OS-assigned for multi)
|
||||
open_browser = true,
|
||||
default_theme = "light", -- "dark" or "light"; initial preview theme
|
||||
debounce_ms = 300,
|
||||
mermaid_elk = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- {
|
||||
-- "iamcco/markdown-preview.nvim",
|
||||
-- ft = 'markdown',
|
||||
-- build = function()
|
||||
-- require("lazy").load({ plugins = { "markdown-preview.nvim" } })
|
||||
-- vim.fn["mkdp#util#install"]()
|
||||
-- local app_dir = vim.fn.stdpath("data") .. "/lazy/markdown-preview.nvim/app"
|
||||
-- vim.fn.system(
|
||||
-- "cd "
|
||||
-- .. app_dir
|
||||
-- .. " && bun install mermaid@latest && cp node_modules/mermaid/dist/mermaid.min.js _static/mermaid.min.js"
|
||||
-- )
|
||||
-- end,
|
||||
-- },
|
||||
-- },
|
||||
|
||||
-- --- @section plugins-bracey
|
||||
{
|
||||
"turbio/bracey.vim",
|
||||
cmd = { "Bracey", "BracyStop", "BraceyReload", "BraceyEval" },
|
||||
build = "npm install --prefix server",
|
||||
desc = "Live HTML/CSS/JS editor preview",
|
||||
},
|
||||
|
||||
--- @section plugins-gnupg
|
||||
{
|
||||
"jamessan/vim-gnupg",
|
||||
desc = "Transparent editing of GnuPG encrypted files",
|
||||
},
|
||||
|
||||
--- @section plugins-vim-snippets
|
||||
{
|
||||
"honza/vim-snippets",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||
end,
|
||||
desc = "SnipMate snippet collection (honza)",
|
||||
},
|
||||
|
||||
--- @section plugins-tabular
|
||||
{
|
||||
"godlygeek/tabular",
|
||||
desc = "Text alignment and formatting",
|
||||
},
|
||||
|
||||
--- @section plugins-nrrwrgn
|
||||
{ "chrisbra/NrrwRgn", desc = "Narrow region: edit a selection in a separate buffer" },
|
||||
|
||||
--- @section plugins-nvim-surround
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
keys = {
|
||||
{ "S", mode = "v", desc = "Surround selection" },
|
||||
},
|
||||
config = function()
|
||||
require("nvim-surround").setup({
|
||||
keymaps = { visual = "S" },
|
||||
})
|
||||
end,
|
||||
desc = "Surround text objects (parentheses, quotes, tags, etc.)",
|
||||
},
|
||||
|
||||
--- @section plugins-auto-session
|
||||
{
|
||||
"rmagatti/auto-session",
|
||||
config = function()
|
||||
require("auto-session").setup({
|
||||
log_level = "error",
|
||||
-- Only restore/save sessions manually, not automatically
|
||||
auto_session_create_enabled = false,
|
||||
})
|
||||
end,
|
||||
desc = "Session management (manual mode)",
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
-- @section luasnip-dart
|
||||
-- LuaSnip: Extend dart filetype with flutter snippets (migrated from LunarVim)
|
||||
-- When editing .dart files, this adds flutter snippet sources so that
|
||||
-- Flutter-specific completions (like `stless`, `stful`) are available.
|
||||
|
||||
return {
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
init = function()
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "VeryLazy",
|
||||
once = true,
|
||||
callback = function()
|
||||
local ok, luasnip = pcall(require, "luasnip")
|
||||
if ok then
|
||||
luasnip.filetype_extend("dart", { "flutter" })
|
||||
end
|
||||
end,
|
||||
})
|
||||
end,
|
||||
desc = "Add Flutter snippets to Dart buffers",
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
./lvim
|
||||
./nvim-distro.sh
|
||||
./lzvim.sh
|
||||
+1
Submodule home/.local/Apps/neovim-distros/lunarvim/LunarVim added at d9240249a3
@@ -0,0 +1,443 @@
|
||||
--[[
|
||||
THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
|
||||
`lvim` is the global options object
|
||||
]]
|
||||
-- vim options
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.list = true
|
||||
vim.opt.relativenumber = false
|
||||
|
||||
-- general
|
||||
lvim.log.level = "info"
|
||||
lvim.format_on_save = {
|
||||
enabled = true,
|
||||
pattern = "*.lua",
|
||||
timeout = 1000,
|
||||
}
|
||||
-- to disable icons and use a minimalist setup, uncomment the following
|
||||
-- lvim.use_icons = false
|
||||
|
||||
-- keymappings <https://www.lunarvim.org/docs/configuration/keybindings>
|
||||
lvim.leader = "space"
|
||||
-- add your own keymapping
|
||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
||||
lvim.keys.normal_mode['<C-p>'] = ":Telescope fd<CR>"
|
||||
|
||||
-- lvim.keys.normal_mode["<S-l>"] = ":BufferLineCycleNext<CR>"
|
||||
-- lvim.keys.normal_mode["<S-h>"] = ":BufferLineCyclePrev<CR>"
|
||||
for i = 1, 9, 1 do
|
||||
lvim.keys.normal_mode["<M-" .. i .. ">"] = ":BufferLineGoToBuffer " .. i .. "<CR>"
|
||||
end
|
||||
|
||||
-- -- Use which-key to add extra bindings with the leader-key prefix
|
||||
-- lvim.builtin.which_key.mappings["W"] = { "<cmd>noautocmd w<cr>", "Save without formatting" }
|
||||
-- lvim.builtin.which_key.mappings["P"] = { "<cmd>Telescope projects<CR>", "Projects" }
|
||||
|
||||
-- Disable automatic changing of directory in lunarvim
|
||||
lvim.builtin.project.active = false
|
||||
lvim.builtin.project.manual_mode = true
|
||||
lvim.builtin.project.silent_chdir = false
|
||||
lvim.builtin.nvimtree.setup.update_cwd = false
|
||||
lvim.builtin.nvimtree.setup.update_focused_file.update_cwd = false
|
||||
|
||||
-- -- Change theme settings
|
||||
-- lvim.colorscheme = "lunar"
|
||||
--
|
||||
|
||||
lvim.builtin.alpha.active = true
|
||||
lvim.builtin.alpha.mode = "dashboard"
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.nvimtree.setup.view.side = "left"
|
||||
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
|
||||
|
||||
|
||||
|
||||
lvim.builtin.terminal.execs = {
|
||||
{ nil, "<Leader>ts", "Horizontal Terminal", "horizontal", 0.3 },
|
||||
{ nil, "<Leader>tv", "Vertical Terminal", "vertical", 0.4 },
|
||||
{ nil, "<Leader>tf", "Float Terminal", "float", nil },
|
||||
}
|
||||
|
||||
lvim.builtin.lualine.sections.lualine_b = { 'branch', '%f' }
|
||||
|
||||
|
||||
-- Automatically install missing parsers when entering buffer
|
||||
lvim.builtin.treesitter.auto_install = true
|
||||
|
||||
-- lvim.builtin.luasnip = {
|
||||
-- sources = {
|
||||
-- friendly_snippets = false,
|
||||
-- },
|
||||
-- }
|
||||
|
||||
-- lvim.builtin.treesitter.ignore_install = { "haskell" }
|
||||
|
||||
-- -- always installed on startup, useful for parsers without a strict filetype
|
||||
-- lvim.builtin.treesitter.ensure_installed = { "comment", "markdown_inline", "regex" }
|
||||
|
||||
-- -- generic LSP settings <https://www.lunarvim.org/docs/languages#lsp-support>
|
||||
|
||||
-- add `pyright` to `skipped_servers` list
|
||||
-- vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "pyright" })
|
||||
|
||||
-- lvim.lsp.null_ls.setup.timeout_ms = 20000
|
||||
|
||||
-- --- disable automatic installation of servers
|
||||
-- lvim.lsp.installer.setup.automatic_installation = false
|
||||
|
||||
-- ---configure a server manually. IMPORTANT: Requires `:LvimCacheReset` to take effect
|
||||
-- ---see the full default list `:lua =lvim.lsp.automatic_configuration.skipped_servers`
|
||||
-- vim.list_extend(lvim.lsp.automatic_configuration.skipped_servers, { "pyright" })
|
||||
-- local opts = {} -- check the lspconfig documentation for a list of all possible options
|
||||
-- require("lvim.lsp.manager").setup("pyright", opts)
|
||||
|
||||
-- ---remove a server from the skipped list, e.g. eslint, or emmet_ls. IMPORTANT: Requires `:LvimCacheReset` to take effect
|
||||
-- ---`:LvimInfo` lists which server(s) are skipped for the current filetype
|
||||
-- lvim.lsp.automatic_configuration.skipped_servers = vim.tbl_filter(function(server)
|
||||
-- return server ~= "emmet_ls"
|
||||
-- end, lvim.lsp.automatic_configuration.skipped_servers)
|
||||
|
||||
-- -- you can set a custom on_attach function that will be used for all the language servers
|
||||
-- -- See <https://github.com/neovim/nvim-lspconfig#keybindings-and-completion>
|
||||
-- lvim.lsp.on_attach_callback = function(client, bufnr)
|
||||
-- local function buf_set_option(...)
|
||||
-- vim.api.nvim_buf_set_option(bufnr, ...)
|
||||
-- end
|
||||
-- --Enable completion triggered by <c-x><c-o>
|
||||
-- buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc")
|
||||
-- end
|
||||
|
||||
-- -- linters and formatters <https://www.lunarvim.org/docs/languages#lintingformatting>
|
||||
-- local formatters = require "lvim.lsp.null-ls.formatters"
|
||||
-- formatters.setup {
|
||||
-- {
|
||||
-- command = "prettier",
|
||||
-- extra_args = { "--print-width", "100" },
|
||||
-- filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" },
|
||||
-- },
|
||||
-- }
|
||||
-- local linters = require "lvim.lsp.null-ls.linters"
|
||||
-- linters.setup {
|
||||
-- { command = "flake8", filetypes = { "python" } },
|
||||
-- {
|
||||
-- command = "shellcheck",
|
||||
-- args = { "--severity", "warning" },
|
||||
-- },
|
||||
-- }
|
||||
|
||||
-- Flutter snippets enable
|
||||
local luasnip = require("luasnip")
|
||||
luasnip.filetype_extend("dart", { "flutter" })
|
||||
|
||||
|
||||
|
||||
-- -- Additional Plugins <https://www.lunarvim.org/docs/plugins#user-plugins>
|
||||
-- lvim.plugins = {
|
||||
-- {
|
||||
-- "folke/trouble.nvim",
|
||||
-- cmd = "TroubleToggle",
|
||||
-- },
|
||||
-- }
|
||||
|
||||
-- -- Autocommands (`:help autocmd`) <https://neovim.io/doc/user/autocmd.html>
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- pattern = "zsh",
|
||||
-- callback = function()
|
||||
-- -- let treesitter use bash highlight for zsh files as well
|
||||
-- require("nvim-treesitter.highlight").attach(0, "bash")
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
local actions = require("telescope.actions")
|
||||
lvim.builtin.telescope.pickers.git_files.mappings = {
|
||||
i = {
|
||||
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist,
|
||||
}
|
||||
}
|
||||
lvim.builtin.telescope.pickers.live_grep.mappings = {
|
||||
i = {
|
||||
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist,
|
||||
}
|
||||
}
|
||||
lvim.builtin.telescope.pickers.find_files.mappings = {
|
||||
i = {
|
||||
['<C-t>'] = actions.smart_send_to_qflist + actions.open_qflist,
|
||||
}
|
||||
}
|
||||
lvim.builtin.telescope.defaults.path_display = { shorten = 4 };
|
||||
lvim.builtin.telescope.defaults.file_ignore_patterns = {
|
||||
"vendor/*",
|
||||
"%.lock",
|
||||
"__pycache__/*",
|
||||
"%.sqlite3",
|
||||
"%.ipynb",
|
||||
"node_modules/*",
|
||||
"%.jpg",
|
||||
"%.jpeg",
|
||||
"%.png",
|
||||
"%.svg",
|
||||
"%.otf",
|
||||
"%.ttf",
|
||||
".git/",
|
||||
"%.webp",
|
||||
".dart_tool/",
|
||||
".github/",
|
||||
".gradle/",
|
||||
".idea/",
|
||||
".settings/",
|
||||
".vscode/",
|
||||
"__pycache__/",
|
||||
"build/",
|
||||
"env/",
|
||||
"gradle/",
|
||||
"node_modules/",
|
||||
"target/",
|
||||
"%.pdb",
|
||||
"%.dll",
|
||||
"%.exe",
|
||||
"%.cache",
|
||||
"%.ico",
|
||||
"%.pdf",
|
||||
"%.dylib",
|
||||
"%.jar",
|
||||
"%.docx",
|
||||
"%.met",
|
||||
"smalljre_*/*",
|
||||
".vale/",
|
||||
"%.burp",
|
||||
"%.mp4",
|
||||
"%.mkv",
|
||||
"%.rar",
|
||||
"%.zip",
|
||||
"%.7z",
|
||||
"%.tar",
|
||||
"%.bz2",
|
||||
"%.epub",
|
||||
"%.flac",
|
||||
"%.tar.gz",
|
||||
}
|
||||
|
||||
|
||||
|
||||
vim.cmd([[
|
||||
au BufRead,BufNewFile *Caddyfile set filetype=caddy
|
||||
command! -nargs=+ Gr :silent execute 'grep! "<args>" | copen'
|
||||
" Raw version of Gr command.
|
||||
command! -nargs=* Grc grep <args>
|
||||
|
||||
" Add file header to current buffer. Depends on https://github.com/harish2704/file-header
|
||||
command! Header :execute "0r!file-header '%'"
|
||||
|
||||
" Open Terminal in split window
|
||||
command! Termw :execute '!konsole -e bash-session &'
|
||||
command! Term :execute 'sp | term'
|
||||
|
||||
command! EditSnippet :execute 'lua require("luasnip.loaders").edit_snippet_files()'
|
||||
|
||||
" Cd to current file's directory
|
||||
command! Cwd :execute 'cd %:p:h'
|
||||
|
||||
" Cd to current file's directory, but limit to current tab
|
||||
command! Tcd :execute ':tcd %:p:h'
|
||||
|
||||
" Reload current buffer
|
||||
command! Reload :execute "bufdo execute 'checktime . bufnr('%')'"
|
||||
|
||||
" Delete current file and close buffer
|
||||
command! Rm :execute '!rm %' | bd
|
||||
|
||||
" Copy current file path to unnamedplus register
|
||||
command! CopyFilename :let @+=@%
|
||||
|
||||
" Open vscode in on current line
|
||||
command! Code :execute "!code ./ -g %:". ( line('.')+1 )
|
||||
|
||||
" For Open a terminal in current directory
|
||||
nmap <Leader><Leader>t :!konsole&<CR>
|
||||
" Open git-gui in current pwd
|
||||
nmap <Leader><Leader>g :!git gui &<CR>
|
||||
|
||||
" <Alt-R> -> Reload current file
|
||||
nmap <M-r> :e!<CR>
|
||||
|
||||
" Alt-q Delete current buffer ( Close file )
|
||||
nmap <M-q> :BufferKill<CR>
|
||||
|
||||
" <Ctrl-Shift-q> force Close buffer
|
||||
nmap <M-Q> :bd!<CR>
|
||||
|
||||
" Select a word and press Ctrl-h to replace all its occurance, even if the word is having special chars
|
||||
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
|
||||
|
||||
" Ctrl-Enter in insert mode will append ';' to the line and insert a new line
|
||||
imap <C-CR> <ESC>A;
|
||||
|
||||
" Alt + Arrows to Moving cursor to different windows {{{
|
||||
nmap <M-Up> <C-W>k
|
||||
nmap <M-Down> <C-W>j
|
||||
nmap <M-Right> <C-W>l
|
||||
nmap <M-Left> <C-W>h
|
||||
" }}}
|
||||
|
||||
" For terminal mod {{{
|
||||
tmap <C-PageUp> <C-\><C-n><C-PageUp>
|
||||
tmap <C-PageDown> <C-\><C-n><C-PageDown>
|
||||
tmap <M-Up> <C-\><C-n><C-W>k
|
||||
tmap <M-Down> <C-\><C-n><C-W>j
|
||||
tmap <M-Right> <C-\><C-n><C-W>l
|
||||
tmap <M-Left> <C-\><C-n><C-W>h
|
||||
" }}}
|
||||
|
||||
set grepprg=ag\ --vimgrep
|
||||
|
||||
nmap <C-/> :Gr <C-R><C-W>
|
||||
|
||||
" Ctrl-Shift-T -> Open new tab
|
||||
nmap <C-S-T> :tabedit<CR>
|
||||
|
||||
" Ctrl-S to save file {{{
|
||||
nmap <C-s> :w<CR>
|
||||
vmap <C-s> <Esc><c-s>gv
|
||||
imap <C-s> <Esc><c-s>
|
||||
nmap <C-PageUp> :BufferLineCyclePrev<CR>
|
||||
nmap <C-PageDown> :BufferLineCycleNext<CR>
|
||||
nmap <C-S-PageUp> :BufferLineMovePrev<CR>
|
||||
nmap <C-S-PageDown> :BufferLineMoveNext<CR>
|
||||
nmap <C-j> :BufferLineCyclePrev<CR>
|
||||
nmap <C-k> :BufferLineCycleNext<CR>
|
||||
nmap <C-S-j> :BufferLineMovePrev<CR>
|
||||
nmap <C-S-k> :BufferLineMoveNext<CR>
|
||||
|
||||
let g:user_emmet_mode='inv'
|
||||
let g:user_emmet_install_global = 0
|
||||
autocmd FileType html,css,vue,jsx,php,javascriptreact EmmetInstall
|
||||
nmap <C-G> :execute 'Telescope live_grep default_text=' . expand('<cword>')<cr>
|
||||
]])
|
||||
-- imap <C-E> <plug>(emmet-expand-abbr)
|
||||
vim.keymap.set('i', '<C-E>', '<plug>(emmet-expand-abbr)')
|
||||
|
||||
vim.keymap.set('n', '<F5>', function() require('dap').continue() end)
|
||||
vim.keymap.set('n', '<F10>', function() require('dap').step_over() end)
|
||||
vim.keymap.set('n', '<F11>', function() require('dap').step_into() end)
|
||||
vim.keymap.set('n', '<F12>', function() require('dap').step_out() end)
|
||||
lvim.builtin.dap.active = true
|
||||
lvim.builtin.which_key.mappings["l"]["f"] = {
|
||||
function()
|
||||
require("lvim.lsp.utils").format { timeout_ms = 20000 }
|
||||
end,
|
||||
"Format",
|
||||
}
|
||||
|
||||
local dap = require('dap')
|
||||
dap.adapters.php = {
|
||||
type = 'executable',
|
||||
command = 'node',
|
||||
args = {
|
||||
'$HOME/tmp/nvim-configs/lunarvim/share/nvim/mason/packages/php-debug-adapter/extension/out/phpDebug.js' }
|
||||
}
|
||||
|
||||
dap.configurations.php = {
|
||||
{
|
||||
type = 'php',
|
||||
request = 'launch',
|
||||
name = 'Listen for Xdebug',
|
||||
port = 9003
|
||||
}
|
||||
}
|
||||
|
||||
local lspconfig = require('lspconfig')
|
||||
local configs = require('lspconfig.configs')
|
||||
if not configs.oxlint then
|
||||
configs.oxlint = {
|
||||
default_config = {
|
||||
cmd = { 'oxlint', '--lsp' },
|
||||
filetypes = { 'javascript', 'javascriptreact', 'typescript', 'typescriptreact' },
|
||||
root_dir = lspconfig.util.root_pattern('.oxlintrc.json', 'package.json', '.git'),
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
lvim.plugins = {
|
||||
{
|
||||
"gpanders/editorconfig.nvim",
|
||||
},
|
||||
{ 'mattn/emmet-vim' },
|
||||
{
|
||||
"tpope/vim-fugitive",
|
||||
cmd = {
|
||||
"G",
|
||||
"Git",
|
||||
"Gdiffsplit",
|
||||
"Gread",
|
||||
"Gwrite",
|
||||
"Ggrep",
|
||||
"GMove",
|
||||
"GDelete",
|
||||
"GBrowse",
|
||||
"GRemove",
|
||||
"GRename",
|
||||
"Glgrep",
|
||||
"Gedit"
|
||||
},
|
||||
ft = { "fugitive" }
|
||||
},
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
build = "cd app && npm install",
|
||||
ft = "markdown",
|
||||
config = function()
|
||||
vim.g.mkdp_auto_start = 1
|
||||
end,
|
||||
},
|
||||
{
|
||||
"turbio/bracey.vim",
|
||||
cmd = { "Bracey", "BracyStop", "BraceyReload", "BraceyEval" },
|
||||
build = "npm install --prefix server",
|
||||
lazy = true,
|
||||
},
|
||||
{
|
||||
"jamessan/vim-gnupg",
|
||||
-- lazy = true,
|
||||
},
|
||||
{
|
||||
"honza/vim-snippets",
|
||||
lazy = true,
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
-- TODO: Implement - custom snippets should go to user's directory. See below
|
||||
-- https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#edit_snippets
|
||||
require("luasnip.loaders.from_snipmate").lazy_load {
|
||||
paths = get_runtime_dir() .. "/site/pack/lazy/opt/vim-snippets/snippets"
|
||||
}
|
||||
end,
|
||||
dependencies = {
|
||||
"LuaSnip",
|
||||
},
|
||||
},
|
||||
{
|
||||
"godlygeek/tabular"
|
||||
},
|
||||
{ "chrisbra/NrrwRgn" },
|
||||
{
|
||||
"kylechui/nvim-surround",
|
||||
config = function()
|
||||
require("nvim-surround").setup({
|
||||
-- Configuration here, or leave empty to use defaults
|
||||
})
|
||||
end
|
||||
},
|
||||
{
|
||||
'rmagatti/auto-session',
|
||||
-- cmd = { 'SaveSession', 'RestoreSession', 'RestoreSessionFromFile', 'DeleteSession', 'Autosession', },
|
||||
config = function()
|
||||
require("auto-session").setup {
|
||||
log_level = "error",
|
||||
auto_session_create_enabled = false,
|
||||
}
|
||||
end
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"LuaSnip": { "branch": "master", "commit": "0abc8f390b278c3b4aabc4c004ac8a088b65cf24" },
|
||||
"NrrwRgn": { "branch": "master", "commit": "e6f29bd507903b587229c544d3e1eba3cc0f0a13" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "6c6a89d5b068b5251c8bdf0dd57bb921bcfeeb09" },
|
||||
"auto-session": { "branch": "main", "commit": "6cde3874a9283c2db55627acca5f28e4fa402320" },
|
||||
"bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" },
|
||||
"bracey.vim": { "branch": "master", "commit": "4e1a22acc01787814819df1057d039d4ecf357eb" },
|
||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
||||
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"editorconfig.nvim": { "branch": "master", "commit": "67758c3e8a2f79019322a60013e4ce0aad09dafa" },
|
||||
"emmet-vim": { "branch": "master", "commit": "92ef2f74f4093edc99db5e9e4cf7e40116a85bd6" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "dd3f588bacbeb041be6facf1742e42097f62165d" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||
"lir.nvim": { "branch": "master", "commit": "f1291b88d3649743165cfb5d0d44a7722d4021ea" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "131a558e13f9f28b15cd235557150ccb23f89286" },
|
||||
"lunar.nvim": { "branch": "master", "commit": "08bbc93b96ad698d22fc2aa01805786bcedc34b9" },
|
||||
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "7b01e2974a47d489bb92f47a41e4c0088ea8f86e" },
|
||||
"mason.nvim": { "branch": "main", "commit": "cbf8d285e1462dd24acf3507817be2bbcb035919" },
|
||||
"mini.icons": { "branch": "main", "commit": "520995f1d75da0e4cc901ee95080b1ff2bc46b94" },
|
||||
"neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" },
|
||||
"nlsp-settings.nvim": { "branch": "main", "commit": "1ae83a5be572fd5e8c1547b5c4c582ce1a14c017" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "f9d557ac7cd28a3a993b5ea49716498bd540b01f" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "7b9923abad60b903ece7c52940e1321d39eccc79" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
|
||||
"nvim-dap": { "branch": "master", "commit": "531771530d4f82ad2d21e436e3cc052d68d7aebb" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "1a66cabaa4a4da0be107d5eda6d57242f0fe7e49" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "deb0df61b2d6691e745b16a42755e10ad38218e9" },
|
||||
"nvim-navic": { "branch": "master", "commit": "f5eba192f39b453675d115351808bd51276d9de5" },
|
||||
"nvim-surround": { "branch": "main", "commit": "8b47db616ef658b8fc27e61db2896aa2f40134de" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "07f541fcaa4a5ae019598240362449ab7e9812b3" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" },
|
||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "6141a40173c6efa98242dc951ed4b6f892c97027" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "7d8dad2c837fcdf2e65997e68657c1a21c568074" },
|
||||
"onedarker.nvim": { "branch": "freeze", "commit": "b00dd2189f264c5aeb4cf04c59439655ecd573ec" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" },
|
||||
"schemastore.nvim": { "branch": "main", "commit": "59b4296a733a5b93ce2aee23ee406b6d279183cc" },
|
||||
"structlog.nvim": { "branch": "main", "commit": "45b26a2b1036bb93c0e83f4225e85ab3cee8f476" },
|
||||
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "b25b749b9db64d375d782094e2b9dce53ad53a40" },
|
||||
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0" },
|
||||
"vim-gnupg": { "branch": "main", "commit": "f9b608f29003dfde6450931dc0f495a912973a88" },
|
||||
"vim-illuminate": { "branch": "master", "commit": "0d1e93684da00ab7c057410fecfc24f434698898" },
|
||||
"vim-snippets": { "branch": "master", "commit": "ededcf7581962ee616cadab360d5966f3307f11a" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user