ba4a2d2119
fish: conf.d/setup: Set environment variable for Poetry
...
If and when we get to using Poetry, make sure it creates
and uses the virtual environment inside the project root.
https://python-poetry.org/docs/configuration/#virtualenvsin-project
2024-12-05 22:10:53 +05:30
591c738973
Revert "fish: setup: Set a needed environment variable for work"
...
This reverts commit 28eccacade
.
2024-12-05 22:10:53 +05:30
cf35532130
paru: Clean up commented options
2024-12-03 19:17:14 +05:30
851fba8adb
git-blame-ignore-revs: Ignore move of git config to XDG_CONFIG_HOME
2024-12-03 17:52:41 +05:30
3ed37f8a87
git: Move config to XDG_CONFIG_HOME
2024-12-03 17:52:09 +05:30
a1a7c8b272
git: Enable rerere
2024-12-03 17:52:09 +05:30
b1a6212749
nvim: fugitive: Improve git blame
...
Improve git blame by
- w: Ignoring white space
- C: Detect lines moved or copied in the same commit
- C: The commit that created the file
- C: Any commit at all
2024-12-03 17:52:09 +05:30
cdde7294ff
nvim: after/ftplugin/haskell: Lint on save
...
Now that we use static-ls as Haskell LSP which does not
have hlint support for diagnostics yet, lint on save to
get hlint diagnostics.
2024-11-30 18:46:05 +05:30
bd98551ec9
ghc: Miscellaneous updates and clean up
2024-11-30 18:44:55 +05:30
198d333a79
Switch back to using foot as the default terminal
2024-11-30 18:44:55 +05:30
45dd7c4e20
arch-packages: Update package list
2024-11-30 18:44:55 +05:30
aab3d5bee3
fish: functions: Move HieDb helpers to functions
...
Using abbreviations for shell commands does not seem clean. They also
seem out of place along with other cabal abbreviations.
While at it, we also add a helper to nuke all Haskell build artefacts.
This is convenient instead of running cabal clean in every project or
relying on Kondo.
For deleting directories, we replace -delete with -exec rm -rv {} + or
-exec rm -rv {} \ which should delete directories recursively without
error. + at the end will result in rm -rv file1 file2 ... while using
\ will result in rm -rv file1; rm -rv file2; ...
2024-11-30 18:44:10 +05:30
386cc0c75b
Revert "foot: Use the default colour scheme"
...
This reverts commit 3f245ac362
.
2024-11-29 16:40:31 +05:30
a8f9cc30d1
tmux: Update plugins
2024-11-29 16:39:53 +05:30
bcfd9372dc
nvim: fugitive: Add mapping to view file on another branch
2024-11-28 11:29:50 +05:30
036b6652a9
nvim: lsp: Do not attach LSP if file is opened via git
...
We might use Git show to view git revision of the file
on another branch and we do not want to attach LSP to
this file. This file will be opened as a temporary with
path /tmp/nvim/<something>.
On similar lines to commit 1eec783a20
.
2024-11-28 11:29:50 +05:30
e3ff05fa11
sway: Do not specify Pictures directory explicitly
2024-11-27 21:39:47 +05:30
ced8814557
alacritty: Increase font size
2024-11-27 12:04:21 +05:30
04c7bb2fc3
foot: Increase font size
2024-11-27 12:04:21 +05:30
dd1b17287f
nvim: lsp-utils: Update bash configuration
2024-11-26 22:06:10 +05:30
3f42d117b6
nvim: lsp-utils: Update Deno configuration
2024-11-26 22:06:10 +05:30
218eff222e
xdg-desktop-portal: Add configuration for desktop portal
...
xdg-desktop-portal backend for wlroots only provides screenshot and
screencast. For others it is recommended to use a generic portal or
a specific one providing the required interface.
https://github.com/emersion/xdg-desktop-portal-wlr?tab=readme-ov-file#running
2024-11-26 13:38:56 +05:30
a5116233c1
foot: Disable dpi-aware
...
May be this was the reason foot & tmux did not play well
together last time on multiple monitors. This is disabled
by default, so keep it disabled. We will revisit this if
it is actually required.
2024-11-25 16:51:07 +05:30
773a6b6ff4
zig: Enable build on save diagnostics
...
https://kristoff.it/blog/improving-your-zls-experience/
2024-11-25 16:50:41 +05:30
f57fd23a12
arch-packages: Update package list
2024-11-24 15:57:46 +05:30
d19e7b4382
nvim: after/ftplugin/sh: Drop language server & enable linting on save
...
Bash language server is written in typescript and we do
not want to keep node, npm or pnpm around for this.
2024-11-23 19:14:15 +05:30
d821233538
fish: conf.d/cabal-abbr: Use jobs argument for cabal install
2024-11-23 19:14:15 +05:30
8d8eb07508
fish: conf.d/cabal-abbr: Helper for generating hie with multi-project root
...
See
https://github.com/josephsumabat/static-ls/issues/127#issuecomment-2392751273
2024-11-23 19:14:15 +05:30
f8f7ee1d45
Drop a few configs
2024-11-21 18:02:47 +05:30
639739bbc3
nvim: treesitter: Enable Typst
2024-11-21 16:14:27 +05:30
474e62d942
nvim: lsp: offset_encoding is now a required parameter
...
See
629483e24e
2024-11-21 16:14:27 +05:30
5c00f581bf
fish: conf.d/cabal-abbr: Add abbreviation for generating hiedb
2024-11-19 21:51:03 +05:30
d9536bede6
git/ignore: Ignore Haskell hie files and directory
2024-11-19 17:55:46 +05:30
c1f0f9f6c9
environment: qt: Only allow Wayland as platform
...
This fixed the problem of applications like Calibre and OBS
crashing and complaining about the platform even though the
platform plugin was correctly found. Any ways anything still
depending on X needs to die.
2024-11-19 12:11:33 +05:30
292ee9428e
nvim: after/ftplugin/zig: Do not add library source to buffer list
2024-11-19 00:07:14 +05:30
d8187ee775
nvim: after/ftplugin/json: Lint on save
2024-11-18 11:03:06 +05:30
2a5121372f
nvim: after/plugin/nvim-lint: Enable jq for json
...
While at it, use eslint and not eslint_d for javascript
and typescript.
2024-11-18 11:03:06 +05:30
cfe57543c6
nvim: after/ftplugin/rust: Update makeprg
...
`--all` is deprecated and is just an alias to `--workspace`.
2024-11-17 15:12:24 +05:30
deb5f2b7d4
nvim: after/ftplugin/zig: Set compiler
...
See runtime/compiler/zig_build.vim.
2024-11-17 15:12:24 +05:30
ecf9bb731e
mutt: mailnotify: Drop all notifications
...
Getting rid of the desire to check mails immediately. May
be we should also rename this now as we only sync mails
here but it is fine for now.
2024-11-16 12:39:22 +05:30
57ef401a11
mutt: accounts: Add missing message hooks
...
We still will probably get mails from sanchayan@domain.
Add a message hook to select the correct account for
the same.
2024-11-16 12:39:21 +05:30
3bfeef46a7
tmux: Drop date from status bar
2024-11-15 14:59:45 +05:30
a71ab7c5b7
environment: qt: Drop platform theme
...
We do not keep qt5ct or qt6ct installed anymore.
2024-11-15 13:43:20 +05:30
b47a94f3e5
fish: Set environment for non systemd user services/applications
...
Environment variables in environment.d directory only affects the users
systemd unit. For example, while these environment variables are set in
tmux which we start via systemd, these are not set when we open terminal
outside of tmux.
See related,
https://github.com/systemd/systemd/issues/7641
2024-11-14 23:29:41 +05:30
717d096d5b
environment: xdg: Add system directories
2024-11-14 15:41:24 +05:30
992e6d8ca1
mimeapps: Set mirage as default application for images
...
For SVG, keep using firefox.
2024-11-14 15:41:24 +05:30
8662acc7e8
nvim: after/ftplugin/zig: Do not add Zig library to buffer list
2024-11-06 18:39:03 +05:30
41f307d8a6
fish: conf.d: Add abbreviations for Zig
2024-11-06 18:39:03 +05:30
929b6568a9
git/ignore: Ignore Zig build output & cache directory
2024-11-06 12:05:10 +05:30
e88c9bc3d4
mutt: Clean up and refactor configuration
...
Refactored by stealing from
https://github.com/iagox86/mutt.git
2024-11-05 14:12:03 +05:30