Commit Graph

1595 Commits

Author SHA1 Message Date
Sanchayan Maity b00e7b2b07 i3status-rust: Fix memory block 2022-10-17 15:29:58 +05:30
Sanchayan Maity cf98fe7ac1 notmuch: Fix database path 2022-10-14 16:35:14 +05:30
Sanchayan Maity 75bc7b47d6 msmtp: Clean up gpg command invocation 2022-10-13 20:37:58 +05:30
Sanchayan Maity 538f698602 gitignore: Ignore some more gnupg entries 2022-10-13 19:47:32 +05:30
Sanchayan Maity 5abc061094 systemd: email: Use a specifier for home directory 2022-10-13 19:41:53 +05:30
Sanchayan Maity e01bca9fec sway: Revert back to the old wallpaper
This reverts commit 9f43c8b7f3.
2022-10-11 21:04:36 +05:30
Sanchayan Maity 1e3eb7f7e0 fish: functions: Improve pipewire dot graph functions
xdot is more convenient to use and allows viewing dot file directly.
Generate svg only if requested.
2022-10-10 14:00:18 +05:30
Sanchayan Maity 11d04bc1d6 i3status-rust: Update to latest master
The configuration file format has changed and network manager block
has been dropped.

Also, we have now moved to iwd and dropped Network Manager completely
and along with it wpa_supplicant.
2022-10-09 11:12:50 +05:30
Sanchayan Maity d6c36f8f9f git: ignore: Ignore compile_commands.json 2022-10-09 11:12:50 +05:30
Sanchayan Maity 41daaf5251 sway: Refactor sway configuration 2022-10-09 11:12:50 +05:30
Sanchayan Maity 08b769bf51 arch-packages: Update package list 2022-10-09 11:12:50 +05:30
Sanchayan Maity 7cb29dbd17 fish: functions: Add a helper to bring up or tear down VPN 2022-10-04 20:54:53 +05:30
Sanchayan Maity 715bb9c589 sway: Increase the status bar font size 2022-10-04 17:53:51 +05:30
Sanchayan Maity 68da927ad3 fish: conf.d: Drop setting of some environment variables
These have now been moved to environment.d and get set by systemd.

https://wiki.archlinux.org/title/Systemd/User#Environment_variables
2022-10-03 11:48:16 +05:30
Sanchayan Maity 0fcf2563ad environment: Set up environment variables via systemd
We were setting these in fish shell setup during login. Move them
here so that they can be correctly inherited by systemd services.

Without this, the tmux session service does not get the environment
variables which do not get set by the time tmux session service starts.

https://www.freedesktop.org/software/systemd/man/environment.d.html
2022-10-03 11:37:04 +05:30
Sanchayan Maity fbae9fcea3 sway: Drop import-environment
We will take care of this with systemd environment.d setup and dbus activation
environment call in fish setup.
2022-10-03 11:24:00 +05:30
Sanchayan Maity 6d7a9fe9b3 nvim: lsp: Use vim.notify to report error 2022-10-02 17:04:25 +05:30
Sanchayan Maity cb12ad28ab fish: Add fish-systemctl
https://github.com/wawa19933/fish-systemd

We do not use any plugin manager so just add this manually.
2022-10-01 09:56:18 +05:30
Sanchayan Maity edf40d4e04 fish: functions: Delete not much used systemd aliases 2022-10-01 09:56:18 +05:30
Sanchayan Maity 0fa6ed0143 tmux: Update plugins 2022-10-01 09:56:18 +05:30
Sanchayan Maity 1ae279fd57 nvim: init: Enable spellsitter
Enable spell check globally and remove file type specific settings.
Use the new treesitter powered spellsitter.
2022-10-01 09:45:24 +05:30
Sanchayan Maity c626c1dac2 nvim: init: Enable British English spell language 2022-09-28 17:26:22 +05:30
Sanchayan Maity 43e4927c88 nvim: ftplugin: markdown: Enable spell check 2022-09-28 17:24:21 +05:30
Sanchayan Maity f4ee744e85 nvim: plugins: Use vale.nvim for vale support 2022-09-28 17:14:44 +05:30
Sanchayan Maity 3ea83c67ba nvim: after/plugin/nvim-lint: Drop languagetool & vale
Both seem to give errors at the moment. While at it, drop the unused
flake8 args setting.
2022-09-28 17:13:37 +05:30
Sanchayan Maity e2880791b3 fish: functions: Add an alias for vale 2022-09-28 17:07:26 +05:30
Sanchayan Maity 1b2b9a7e1b Add configuration for vale 2022-09-28 17:07:26 +05:30
Sanchayan Maity 31fb0eafb4 chrome/chromium: Update flags 2022-09-20 17:41:49 +05:30
Sanchayan Maity 7c8841431a nvim: init/treesitter: Enable bundled parsers
Now that neovim bundles parsers and highlight queries for Lua, Vimscript
and C by default, enable the bundled ones.

We can drop the entries from languages enabled via nvim-treesitter.

See
https://github.com/neovim/neovim/issues/14090#issuecomment-1237820552
2022-09-18 12:57:19 +05:30
Sanchayan Maity 05c27960f7 nvim: lsp: Disable logging
Disable logging completely. The set_log_level call needs to be at the
top level else some log message related to startup still gets logged
if the call is done in on_attach.
2022-09-18 12:34:41 +05:30
Sanchayan Maity e5352a7ac6 nvim: Update packer 2022-09-17 10:56:51 +05:30
Sanchayan Maity 4b18ecad6d nvim: Use ex commands as methods instead of string on vim.cmd 2022-09-17 10:56:51 +05:30
Sanchayan Maity f04308f569 nvim: plugins: Make packer not fetch/pull tags
Upstream repos overwrite tags like release and then PackerSync complains
about failing to update since existing tags would be clobbered after an
update.
2022-09-16 20:39:17 +05:30
Sanchayan Maity 4c737fb42b arch-packages: Update package list 2022-09-16 20:39:17 +05:30
Sanchayan Maity b398542a94 nvim: lsp: Minor clean up of autocmd callbacks 2022-09-13 18:16:08 +05:30
Sanchayan Maity 108403ca3d nvim: lsp: Drop custom range formatting function
With commit 11167ab, vim.lsp.buf.format now has a range argument
which defaults to current selection in visual mode.
2022-09-13 18:16:08 +05:30
Sanchayan Maity 6b29743076 tmuxp: Update audio and work session configuration 2022-09-13 18:16:08 +05:30
Sanchayan Maity ec0e164747 locale: Switch to en_GB 2022-09-12 09:31:01 +05:30
Sanchayan Maity 6b9de43829 nvim: statusline: Add space after git ahead behind symbol 2022-09-05 19:04:30 +05:30
Sanchayan Maity ca2d092166 Revert "fish/git: Manually set file type to git when calling nvim"
This reverts commit 2102b9983b.

Guess this got fixed in upstream commit 927d4d2.
2022-09-05 16:20:01 +05:30
Sanchayan Maity 7921bcc7d2 arch-packages: Update package list 2022-09-05 09:14:30 +05:30
Sanchayan Maity 7bae888f7d nvim: plugins: Drop suda
sudoedit is appropriate for our needs.
2022-09-01 09:31:52 +05:30
Sanchayan Maity ee776a86a1 fish: functions: Add an alias for sudoedit 2022-09-01 09:30:04 +05:30
Sanchayan Maity 9a26ef9c10 nvim: Drop nvim-lspconfig
Use the new vim.lsp.start API and LspAttach/Detach auto commands.
Drop nvim-lspconfig in the process.

LSP server specific configuration has been taken from nvim-lspconfig.
2022-08-31 12:21:28 +05:30
Sanchayan Maity a18a0415b7 nvim: statusline: Do not set winbar for floating windows 2022-08-31 12:21:28 +05:30
Sanchayan Maity 8e8f6110e5 nvim: lsp: Fix argument ordering to on_attach for inlay hint 2022-08-29 17:35:47 +05:30
Sanchayan Maity 0b831f0f73 arch-packages: Update package list 2022-08-23 10:00:34 +05:30
Sanchayan Maity 24f4e8aff1 nvim: Update packer 2022-08-23 10:00:34 +05:30
Sanchayan Maity 490fe4e853 nvim: plugins: Drop rust-tools & use lsp-inlayhints
We do not use any of the other features provided by rust-tools and
only ever needed the inlay hints. Now that there is a plugin for
that which also allows us to use inlay hints for other languages
use that.

There are two options
https://github.com/lvimuser/lsp-inlayhints.nvim
https://github.com/simrat39/inlay-hints.nvim

The second one is from the rust-tools author himself but we could
not get that to work.
2022-08-19 16:59:19 +05:30
Sanchayan Maity eecc7b4021 fish: functions: Enable details in pipewire dot graphs 2022-08-19 16:59:19 +05:30