Commit graph

1826 commits

Author SHA1 Message Date
Sanchayan Maity 798cffa9f4
fish: functions: Add alias for detecting errors in media with ffmpeg 2023-04-27 16:51:19 +05:30
Sanchayan Maity d9f9952ca1
fish: functions: Add aliases for meson
GStreamer now uses these meson commands instead of ninja. We need
these aliases with GStreamer frequently.
2023-04-27 16:51:19 +05:30
Sanchayan Maity 95cb836e8d
nvim: after/ftplugin/cabal: Add cabalfmt plugin
Since we reverted cabal-fmt support via HLS in the previous commit
add the cabalfmt plugin. Just add it to our own ftplugin instead of
adding via the plugin list.
2023-04-25 16:28:02 +05:30
Sanchayan Maity 5bba0b1789
Revert "nvim: after/ftplugin/cabal: Enable HLS on cabal files"
This reverts commit 34a5bbdacb.

HLS complains a lot (forgot the error) when trying to edit cabal files
making it almost unusable. It was nice to not require a separate plugin
for formatting cabal files, but, since this is not usable, disable it.
2023-04-25 16:28:02 +05:30
Sanchayan Maity 6329816b42
sway: Bring some sanity to zoom
Taken from
https://www.reddit.com/r/swaywm/comments/l9asbc/zoom_on_sway_what_settings_do_you_use/
2023-04-25 16:28:02 +05:30
Sanchayan Maity 9c4bdb5644
nvim: init: Drop textobj-word-column setting
We dropped the plugin in c800b66, so remove the left behind setting.
2023-04-22 13:05:52 +05:30
Sanchayan Maity 51658413fa
newsboat: Use firefox as the default browser 2023-04-22 13:05:52 +05:30
Sanchayan Maity 1b56b3d82e
Revert "sway: Use workspace 6 as default for zathura"
This reverts commit 681a979fba.

Allow Zathura to be opened in any workspace. Fixed workspace
is restrictive.
2023-04-22 13:05:51 +05:30
Sanchayan Maity 39900dd9a7
nvim: after/ftplugin/purescript: Add PureScript LSP support 2023-04-22 13:05:51 +05:30
Sanchayan Maity d1f66f1b13
fish: conf.d/setup: Drop fnm and switch to pnpm
Drop fnm and switch to pnpm for installing npm packages as well as
managing node versions.

Not using npm i -g has the added nicety of not having a node_modules
in /usr/lib.
2023-04-22 13:04:31 +05:30
Sanchayan Maity 2db28813c2
arch-packages: Update package list
Uninstall all packages which were installed via npm. We also drop fnm
and switch to pnpm for installing npm packages as well as managing node
versions.

Not using npm i -g has the added nicety of not having a node_modules in
/usr/lib.
2023-04-22 13:04:06 +05:30
Sanchayan Maity 27e6af32b9
nvim: plugins: Add syntax highlighting for PureScript 2023-04-21 18:47:15 +05:30
Sanchayan Maity abb42bceac
tridactyl: Add configuration for tridactyl
Primarily add search URLs and quickmarks. That is the functionality
we primarily needed from qutebrowser.
2023-04-20 20:09:14 +05:30
Sanchayan Maity 4fea3b58e9
Revert "mimeapps: Use qutebrowser as default browser"
This reverts commit f63fd856a1.

Make firefox our default browser again. With tridactyl, we can have
quickmarks and search URLs in the same style as qutebrowser.
2023-04-20 20:09:14 +05:30
Sanchayan Maity eec08279c2
tmuxp: Add a tmux pane for RSS feeds 2023-04-20 20:09:14 +05:30
Sanchayan Maity 130b1048d6
git-blame-ignore-revs: Ignore tabs to spaces clean up for colors/yolokai
While at it, fix a previous blame ignore commit.
2023-04-12 11:30:13 +05:30
Sanchayan Maity a039a58dd2
nvim: colors/yolokai: Convert all tabs to spaces 2023-04-12 11:20:39 +05:30
Sanchayan Maity fe7ca593ae
nvim: lsp: Enable semantic token highlighting
This effectively reverts commit 0c9e0eb.
2023-04-12 11:14:42 +05:30
Sanchayan Maity 4c409188be
nvim: colors/yolokai: Add semantic highlight groups
For more information, see
https://www.reddit.com/r/neovim/comments/12gvms4/this_is_why_your_higlights_look_different_in_90/
https://github.com/Iron-E/nvim-highlite/blob/master-v3/colors/highlite.lua

Changes are taken from the above two sources.
2023-04-12 11:14:42 +05:30
Sanchayan Maity ceae4a0795
arch-packages: Update package list 2023-04-08 16:49:05 +05:30
Sanchayan Maity ec56dcbec0
Revert "Use alacritty as default terminal"
This reverts commit 8206103d7d.

alacritty master seems to be broken with specifying shell args or
at least seems like it. Starting tmux with alacritty master does
not show any typed characters or cursor.
2023-04-08 16:47:45 +05:30
Sanchayan Maity a7895acab1
foot: Use medium italic as default 2023-04-07 19:54:56 +05:30
Sanchayan Maity 89bc06651e
git/ignore: Ignore node garbage 2023-04-07 19:54:56 +05:30
Sanchayan Maity a8e4b87cfa
tmux: Update plugins 2023-04-07 19:54:56 +05:30
Sanchayan Maity f229c74f50
arch-packages: Update package list 2023-03-22 10:23:09 +05:30
Sanchayan Maity 7ca6a1c1b8
nvim: after/ftplugin/rust: Remove format on save
Formatting on save tends to go completely wrong sometimes for some
reason. Just remove it.
2023-03-21 17:22:52 +05:30
Sanchayan Maity ab597f3f45
qutebrowser: Add Hackage, Arch package & AUR to search engines 2023-03-19 19:41:44 +05:30
Sanchayan Maity 39191eac20
arch-packages: Update package list 2023-03-17 11:54:48 +05:30
Sanchayan Maity 30a7f0606d
nvim: plugins: Add portal for jump & change list support 2023-03-15 10:49:06 +05:30
Sanchayan Maity c800b66cbf
nvim: plugins: Switch to nvim-various-textobjs
We never really used the comment text object and functionality of the
other two are provided in nvim-various-textobjs.
2023-03-15 10:49:06 +05:30
Sanchayan Maity 20066f99c7
yt-dlp: Add default configuration 2023-03-08 18:24:28 +05:30
Sanchayan Maity 34a5bbdacb
nvim: after/ftplugin/cabal: Enable HLS on cabal files
Enabling HLS on cabal files allows us to format them using gq. HLS
just uses the internal cabal-fmt plugin.
https://haskell-language-server.readthedocs.io/en/latest/features.html#formatting
2023-03-06 22:15:29 +05:30
Sanchayan Maity 01e9c92051
nvim: plugins: Drop cabalfmt
We will switch to using HLS for this.
2023-03-06 22:04:39 +05:30
Sanchayan Maity eec59c530d
nvim: Switch to fzf-lua
Switch to fzf-lua now that it supports tmux style pop ups. For details,
see https://github.com/ibhagwan/fzf-lua/issues/225.
2023-03-06 16:13:36 +05:30
Sanchayan Maity 9bc237314f
qutebrowser: greasemonkey: Scripts for youtube & reddit adblock
Taken from
https://github.com/afreakk/greasemonkeyscripts
2023-03-06 16:13:36 +05:30
Sanchayan Maity c25d97166f
qutebrowser: Add startpage to search engines
While DDG uses bing in the back end, startpage uses google without
resorting to tracking. Use startpage so we never have to use google.
2023-03-06 14:33:19 +05:30
Sanchayan Maity c37a0db46a
nvim: lsp: Fix luacheck warning on setting non-standard global variable 2023-03-06 13:33:40 +05:30
Sanchayan Maity f8a25ac9f7
qutebrowser: Increase the font size and default zoom 2023-03-05 16:37:26 +05:30
Sanchayan Maity 0002d02e6c
nvim: lsp: Drop unnecessary if check 2023-03-05 00:13:28 +05:30
Sanchayan Maity 00403bafaa
arch-packages: Update package list 2023-03-05 00:13:28 +05:30
Sanchayan Maity d4a71942d0
git: ignore: Ignore cabal build directory 2023-03-04 15:30:43 +05:30
Sanchayan Maity e6c64c61ae
fish: functions/dotg: Do not add dot to output file name
If a file name was foo.dot the current implementation generated a
foo.dot.svg. Fix it to just output a foo.svg.

Also fix a bug, where we were not considering the provided dotpath.
2023-03-03 15:57:29 +05:30
Sanchayan Maity ebac7a3beb
nvim: Update paq 2023-03-02 11:03:19 +05:30
Sanchayan Maity 110a1643cb
nvim: Move LSP configuration to it's own LSP utils
This allows us to have all the language server configuration in one
place and only import relevant LSP server configuration to pass to
vim.lsp.start in after/ftplugin.

While at it, we also enable deno support.
2023-02-28 20:56:36 +05:30
Sanchayan Maity 6f8cf0bce5
qutebrowser: Use d search keyword for docs.rs
DuckDuckGo is already the default search engine, so use d for docs.rs.
2023-02-28 20:56:36 +05:30
Sanchayan Maity 26488153f0
nvim: after/ftplugin/haskell: Remove old configuration
We use cabal instead of stack these days and we dropped asyncdo more
than a year ago.
2023-02-28 00:17:45 +05:30
Sanchayan Maity 27d051e3dd
nvim: plugins: Add back vim-wordmotion 2023-02-28 00:05:45 +05:30
Sanchayan Maity 8a60e83ef5
nvim: plugins/treesitter: Drop playground
Initially added this thinking it might help with our own colorscheme
but we have never used this.
2023-02-28 00:05:45 +05:30
Sanchayan Maity fa882691bf
arch-packages: Update package list 2023-02-28 00:05:45 +05:30
Sanchayan Maity ed7ac360a0
mutt: accounts/fastmail: Disable GPG signing
Would love to keep this enabled but let us face it, no one cares.
And if we want to use this account for sending to mailing lists
best to not enable this.
2023-02-25 18:00:07 +05:30