Update
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 15 Dec 2024 14:44:10 +0000 (09:44 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 15 Dec 2024 14:44:10 +0000 (09:44 -0500)
home/.config/mimeapps.list
home/.config/nvim/coc-settings.json
home/.config/nvim/init.vim
home/.xlaunch.d.horlamca/compositor
home/.xlaunch.d/pista [deleted file]
home/lib/login_aliases.sh
home/lib/login_functions.sh

index 6ba8e6c..5084b98 100644 (file)
@@ -32,6 +32,7 @@ application/vnd.sqlite3=anki.desktop;
 image/heif=eom.desktop;feh.desktop;
 application/xml=gvim.desktop;
 x-scheme-handler/tonsite=org.telegram.desktop.desktop;
+text/markdown=gvim.desktop;
 
 [Default Applications]
 application/illustrator=gimp.desktop
@@ -101,3 +102,4 @@ application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-ca
 image/heif=feh.desktop
 application/xml=gvim.desktop
 x-scheme-handler/tonsite=org.telegram.desktop.desktop
+text/markdown=gvim.desktop
index c31bc4f..a1975df 100644 (file)
@@ -1,5 +1,10 @@
 // vim:ft=jsonc:
 {
+    // "coc.preferences.formatOnSaveFiletypes": ["sql"],
+    // "formatter.sql": {
+    //     "command": "prettier",
+    //     "args": ["--plugin", "prettier-plugin-sql"]
+    // },
     "languageserver": {
         "rust": {
             "command": "rust-analyzer",
             "command": "clangd",
             "rootPatterns": ["compile_flags.txt", "compile_commands.json"],
             "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"]
+        },
+        "sql": {
+            "command": "sql-language-server",
+            "args": ["up", "--method", "node-ipc"],
+            "filetypes": ["sql", "sqlite"]
         }
     },
 
index 73871ec..f46eaed 100644 (file)
@@ -90,7 +90,7 @@ filetype on
 filetype plugin on
 set mouse=a                 " To scroll Coc tooltips. https://github.com/neoclide/coc.nvim/issues/1405
 set spellfile=~/.vim/spell/en.utf-8.add
-set spelllang=en,ru
+set spelllang=en,ru,la
 
 " lightline
 set laststatus=2
index 9e6c657..43268f7 100755 (executable)
@@ -4,7 +4,18 @@
 
 picom \
     --shadow \
+    --backend glx \
     --config ~/.compton.conf
 #    --experimental-backends \
 #    --active-opacity=0.85 \
 #    --inactive-opacity=0.65 \
+
+
+# $ /home/xand/.xlaunch.d.horlamca/compositor
+# [ 12/11/2024 14:08:34.080 sanitize_options ERROR ] Backend not specified. You must choose one explicitly. Valid ones are:
+# [ 12/11/2024 14:08:34.080 sanitize_options ERROR ]      glx
+# [ 12/11/2024 14:08:34.080 sanitize_options ERROR ]      egl
+# [ 12/11/2024 14:08:34.080 sanitize_options ERROR ]      xrender
+# [ 12/11/2024 14:08:34.080 sanitize_options ERROR ]      dummy
+# [ 12/11/2024 14:08:34.080 session_init FATAL ERROR ] Failed to get configuration, usually mean you have specified invalid options.
+# [ 12/11/2024 14:08:34.080 main FATAL ERROR ] Failed to create new session.
diff --git a/home/.xlaunch.d/pista b/home/.xlaunch.d/pista
deleted file mode 100755 (executable)
index f047813..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#! /bin/sh
-
-# set -e
-
-# pistactl --config ~/.pistactl."$(hostname)" restart
-# pistactl --config ~/.pistactl.toml restart
-# pistactl restart
index 8710e04..bec0b1b 100644 (file)
@@ -34,3 +34,4 @@ alias gh-clone-user=gh_clone_user
 alias gh-clone-org=gh_clone_org
 alias j=jobs
 alias t='tiz UTC US/Pacific US/Mountain US/Eastern Europe/Warsaw Europe/Kyiv Europe/Moscow Europe/Samara Asia/Manila NZ'
+alias ghr=gh-clone-repo
index 122331f..51da11b 100644 (file)
@@ -19,7 +19,7 @@ links() {
     local -r file="$HOME"/arc/doc/links/"$(date +%F)"
 
     case "$1" in
-        '') vim "$file";;
+        '') "$EDITOR" "$file";;
         *) echo "$1" >> "$file";;
     esac
 }
This page took 0.029238 seconds and 4 git commands to generate.