Commit graph

2197 commits

Author SHA1 Message Date
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
acaebdf0a4
mutt: Add email accounts for our own domains
Switch to Migadu for our own domains. Migadu mandates
bringing your own domain for email and as such we can
now have separate mail boxes for both our .com & .net
domains. We will drop fastmail once our plan expires.

Also lots of clean up. Seems per account key binds were
broken pretty much ever since these were added.
2024-11-05 14:12:03 +05:30
a18ada98e4
mbsync/msmtp/notmuch: Add email accounts for our own domains
Switch to Migadu for our own domains. Migadu mandates
bringing your own domain for email and as such we can
now have separate mail boxes for both our .com & .net
domains. We will drop fastmail once our plan expires.
2024-11-05 14:12:02 +05:30
11ce66190d
imapfilter: Add email accounts for our own domains
Switch to Migadu for our own domains. Migadu mandates
bringing your own domain for email and as such we can
now have separate mail boxes for both our .com & .net
domains. We will drop fastmail once our plan expires.

While at it, clean up and improve the filtering logic.
2024-11-05 14:12:02 +05:30
969e039838
arch-packages: Update package list 2024-11-05 13:00:11 +05:30
ef9261c05e
tmux/tmuxp: Create a separate tmux session for Zig 2024-11-05 13:00:11 +05:30
cc05f03ddf
nvim: lua/lsp-utils: Disable proc macros for rust-analyzer 2024-11-05 13:00:11 +05:30
9075d7b321
nvim: after/ftplugin/systemd: Lint systemd files on save 2024-11-03 16:19:01 +05:30
6afc6f90dd
nvim: after/plugin/nvim-lint: Enable systemd-analyze 2024-11-03 16:19:01 +05:30
aad1c8c217
nvim: treesitter: Enable Zig 2024-11-02 20:24:08 +05:30
43f6e5331b
fish: functions/vb: Remove build directory before compiling 2024-11-02 13:22:52 +05:30
6c30de3b18
dnscontrol: Switch to Migadu for email 2024-10-30 10:24:57 +05:30