Commit graph

314 commits

Author SHA1 Message Date
Bruno BELANYI 5dd9d1c6d0 home: vim: configure short 'CursorHold' timeout 2022-03-02 12:30:53 +01:00
Bruno BELANYI d87fd7b9e1 home: vim: configure diagnostics further
This is not only 'lsp_lines' configuration anymore, but the whole
display of diagnostics.
2022-03-02 12:30:53 +01:00
Bruno BELANYI 01d7ead121 home: vim: add 'nvim-treesitter'
IMHO, this is *very* colorful, I might not end up using the highlighting
after all.

Let's see if I get used to it after a little while.
2022-03-02 12:30:53 +01:00
Bruno BELANYI e701dd06ea home: vim: make python formatting faster 2022-03-02 12:30:53 +01:00
Bruno BELANYI faa8ae6d1e home: vim: add 'lsp_lines'
I dislike the diagnostics *next* to affected lines.

This looks neater, though the best look would be a simple hover window
or status line message instead, like ALE used to do.

It might grow on me however.
2022-03-02 12:30:53 +01:00
Bruno BELANYI 729f60c471 home: vim: configure 'null-ls' for 'nix' 2022-03-02 12:30:53 +01:00
Bruno BELANYI d7a9783ceb home: vim: keep space after shell redirections 2022-03-02 12:30:53 +01:00
Bruno BELANYI f54fbcf793 home: vim: show error codes from 'shellcheck' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 4b92a3fda9 home: vim: configure 'null-ls' for 'python' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 5947ec4217 home: vim: configure 'null-ls' for 'cpp' 2022-03-02 12:30:53 +01:00
Bruno BELANYI bb512cf838 home: vim: configure 'null-ls' for 'c' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 3aa859861e home: vim: add formatting on save with 'null-ls' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 60b87c90fc home: vim: configure 'null-ls' for 'haskell' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 5f06b43ad4 home: vim: configure 'null-ls' for 'zsh' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 58470804d6 home: vim: configure 'null-ls' for 'sh' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 58bf5b6b1c home: vim: configure 'null-ls' for 'bash' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 367dc1e5a5 home: vim: add 'null-ls' 2022-03-02 12:30:53 +01:00
Bruno BELANYI d9a2c12d3f home: vim: configure 'lightline-lsp'
This pretty much replace 'lightline-ale' for me now.

At least it will, once I have configured some LSP clients.
2022-03-02 12:30:53 +01:00
Bruno BELANYI f73f59b06c home: vim: add 'lightline-lsp' 2022-03-02 12:30:53 +01:00
Bruno BELANYI cb389b71b1 home: vim: remove 'quickfixed' functionality
I never use it anymore...
2022-03-02 12:13:13 +01:00
Bruno BELANYI 4382904060 home: vim: remove 'ALE' configuration
First step to modernising my configuration to use the native LSP client
instead.
2022-03-02 12:13:13 +01:00
Bruno BELANYI d2e410de56 home: vim: fix icon for read-only files 2022-02-23 21:06:12 +01:00
Bruno BELANYI 44ed078606 home: wm: i3: only boost volume on 'Shift' mapping
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-18 12:22:51 +01:00
Bruno BELANYI 27448ac60a home: tmux: fix yanking configuration
All checks were successful
continuous-integration/drone/push Build is passing
Use `tmux-yank` when a GUI is enabled, otherwise use the internal tmux
buffer.

In both cases, stay in copy mode after yanking.
2022-02-08 17:25:44 +01:00
Bruno BELANYI e57ebf4317 home: firefox: tridactyl: fix HN comment folding
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-07 17:00:18 +01:00
Bruno BELANYI e8adbb5b20 home: firefox: tridactyl: fix DDG mapping
All checks were successful
continuous-integration/drone/push Build is passing
Taken straight from upstream's sample configuration.
2022-02-07 15:51:56 +01:00
Bruno BELANYI 6d1d0c9488 home: packages: add 'mosh'
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-07 15:00:52 +01:00
Bruno BELANYI d6acc175de home: wm: i3bar: show volume when muted 2022-02-03 11:40:24 +01:00
Bruno BELANYI 9dd3dceb83 home: ssh: add 'work' host
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-25 15:53:01 +01:00
Bruno BELANYI 633a422532 home: firefox: remove 'i-dont-care-about-cookies'
Should be superseded by Consent-O-Matic now.
2022-01-25 15:53:01 +01:00
Bruno BELANYI b082057170 home: firefox: add 'consent-o-matic' 2022-01-25 15:53:01 +01:00
Bruno BELANYI 50c927fea3 flake: bump inputs
Also change a removed package alias' name.
2022-01-25 15:53:01 +01:00
Bruno BELANYI 702bfafe73 home: firefox: trydactyl: ignore prime video 2022-01-14 13:24:09 +01:00
Bruno BELANYI d2db3e52c2 home: add discord 2022-01-09 22:19:07 +01:00
Bruno BELANYI 9c009b40eb home: wm: change default screen-lock timeout
5 minutes is too short.
2022-01-07 08:55:58 +01:00
Bruno BELANYI 876dacab85 home: vim: cut back on fzf mappings
I only ever use the buffer and files regularly.
2021-12-22 23:34:46 +01:00
Bruno BELANYI 0becdd4b99 home: git: do not change metadata color
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-06 21:24:31 +01:00
Bruno BELANYI 555c474b88 flake: bump inputs
All checks were successful
continuous-integration/drone/push Build is passing
And make my configuration build after the removed option from
`programs.direnv` in home-manager.
2021-11-30 15:41:14 +01:00
Bruno BELANYI 0bf893c8a0 home: restart services automatically (again)
All checks were successful
continuous-integration/drone/push Build is passing
I think my issue was *not* related to this, so I might as well keep
using it since it does seem useful in the long run.

This reverts commit a94f349dde.
2021-11-30 15:41:14 +01:00
Bruno BELANYI 925b872305 home: git: switch to 'delta'
All checks were successful
continuous-integration/drone/push Build is passing
Now that my issue with it has been resolved [1], let's switch to the
more mature tool.

This also solves a small issue that I had with `diff-highlight` which is
that non-highlighted text should not be boldened.

[1]: https://github.com/dandavison/delta/issues/544
2021-11-29 17:50:07 +01:00
Bruno BELANYI 2b5fedadd2 home: git: use diff-highlight in interactive diffs
Now even `git log -p` and `git add -p` can use the more readable diffs.
2021-11-29 13:13:48 +01:00
Bruno BELANYI 6f643052e1 home: wm: i3: show notification on toggling mute
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-12 10:21:25 +01:00
Bruno BELANYI cef430ed39 home: tmux: remove tmux service
All checks were successful
continuous-integration/drone/push Build is passing
Turns out it is more trouble than it is worth trying to make this work:
with the secure socket problem etc...

The first start up is fast enough for me in the end.

This reverts commit cc21d84808.
2021-11-09 15:32:59 +01:00
Bruno BELANYI 9b4a92895f home: wm: dunst: replace deprecated 'geometry'
All checks were successful
continuous-integration/drone/push Build is passing
2021-11-04 16:35:06 +01:00
Bruno BELANYI 2af0fe542f home: wm: i3: use packaged scripts
Instead of inlining them in the configuration, use an actual package for
those.
2021-11-04 16:35:06 +01:00
Bruno BELANYI 7dc177cf44 home: wm: i3: avoid loading icon on notifications
Because my script are obviously not startup id aware, hovering on the
notification leads to having a loading cursor.
2021-11-03 17:57:33 +01:00
Bruno BELANYI da4acebdde home: wm: i3: notify when changing audio volume 2021-11-03 17:50:28 +01:00
Bruno BELANYI 3f7fb26b8f home: wm: i3: extract 'notify-send' variable
It is used in multiple scripts, might as well centralise it.
2021-11-03 17:49:47 +01:00
Bruno BELANYI a94f349dde home: do not restart services automatically
Turns out it is *not* ideal when modifying my WM configuration in any
way... Having i3 restart due to changing a keybinding is not great.

This reverts commit 6bec62073b.
2021-11-03 14:10:18 +01:00
Bruno BELANYI b83f28f2ba home: wm: i3: use 'i3status-rust.package' value 2021-11-03 14:10:18 +01:00
Bruno BELANYI 14e4e681aa home: wm: screen-lock: rename changed option 2021-10-22 13:15:22 +02:00
Bruno BELANYI 6bec62073b home: start services when switching
All checks were successful
continuous-integration/drone/push Build is passing
As I use home-manager with its NixOS module, I do not see the message
suggesting to start the services otherwise.
2021-10-21 16:42:15 +02:00
Bruno BELANYI 8edef9d528 home: wm: i3bar: add bluetooth blocks
All checks were successful
continuous-integration/drone/push Build is passing
I have decided that the potential security and privacy risk of exposing
my MAC addresses is fine by me.

My earphones and headphones do not seem to expose their battery level,
would need more investigation.
2021-10-18 15:51:15 +02:00
Bruno BELANYI 708d60bcc6 home: git: rewrite gitlab URLs to use ssh
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 14:45:23 +02:00
Bruno BELANYI 5e438f9e77 home: git: rewrite github URLs to use ssh 2021-10-18 14:44:19 +02:00
Bruno BELANYI 9e33f4ca82 home: git: rewrite personal gitea URLs to use ssh 2021-10-18 14:44:08 +02:00
Bruno BELANYI c55708ab54 home: wm: i3bar: use dynamic width on music block
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-16 18:07:07 +02:00
Bruno BELANYI 537fa5c909 home: wm: i3: add 'rofi-bluetooth' binding
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-15 17:19:12 +02:00
Bruno BELANYI 8a8256e555 home: tmux: add binding for block selection 2021-10-15 17:13:02 +02:00
Bruno BELANYI 9117df1e72 home: wm: i3: don't add 'dragger' through profile 2021-10-15 17:12:24 +02:00
Bruno BELANYI b1cff1b8a3 home: git: add git-related packages when enabled
All checks were successful
continuous-integration/drone/push Build is passing
Instead of adding them in the general packages section.
2021-10-13 15:36:28 +02:00
Bruno BELANYI e475855e18 home: git: inline EPITA configuration include 2021-10-13 15:36:28 +02:00
Bruno BELANYI 111ee136c8 home: git: use 'mkMailAccount' 2021-10-13 15:36:28 +02:00
Bruno BELANYI 8d8904ccef home: mail: accounts: use 'mkMailAccount' 2021-10-12 17:55:37 +02:00
Bruno BELANYI b298607ea7 home: git: add 'git' alias
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-12 16:33:33 +02:00
Bruno BELANYI 8c103a2261 home: gammastep: fix typo 2021-10-08 15:03:45 +02:00
Bruno BELANYI 323e99bbb0 home: xdg: make gdb store history in XDG_DATA_HOME
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-08 12:46:00 +02:00
Bruno BELANYI 8569a8eb55 home: firefox: add 'reddit-comment-collapser' 2021-10-06 09:48:20 +02:00
Bruno BELANYI 6d393fdef2 home: firefox: re-organise module 2021-10-06 09:48:20 +02:00
Bruno BELANYI a85922b3b3 home: firefox: add 'refined-github' 2021-10-06 09:48:20 +02:00
Bruno BELANYI cc21d84808 home: tmux: add tmux service
All checks were successful
continuous-integration/drone/push Build is passing
The service definition is pretty awful, but it deals with the secure
socket correctly...

This avoids having a small lapse when starting the very first shell of a
session, which must first launch the server.
2021-09-30 16:58:44 +02:00
Bruno BELANYI 84cdc30037 home: tmux: make history longer
We got tons of RAM!
2021-09-30 16:47:52 +02:00
Bruno BELANYI 07cf0fa4da home: wm: i3: launch tmux when starting terminal
All checks were successful
continuous-integration/drone/push Build is passing
Similarly to the `zsh` snippet, launch tmux unless I explicitly do not
want it.

The reason I also add it in `i3` is to make the launch happen sooner,
and to avoid doing double work on some shell startup shenanigans if I
can.
2021-09-30 15:38:43 +02:00
Bruno BELANYI 24de1890fc home: zsh: launch tmux when starting a shell 2021-09-30 15:34:16 +02:00
Bruno BELANYI 4055ef17f0 home: vim: switch back to gruvbox theme
All checks were successful
continuous-integration/drone/push Build is passing
Onedark is too annoying to deal with, and I still like gruvbox's colors
best.
2021-09-29 18:50:33 +02:00
Bruno BELANYI f6faa11ff7 home: put modules into folders 2021-09-26 23:09:32 +02:00
Bruno BELANYI 67090494e2 home: terminal: put modules into folders 2021-09-26 23:09:32 +02:00
Bruno BELANYI 0d44b3b9f2 home: x: put modules into folders 2021-09-26 23:09:32 +02:00
Bruno BELANYI 37c20529c1 home: wm: put modules into folders 2021-09-26 23:09:32 +02:00
Bruno BELANYI 2449a96652 home: mail: put modules into folders 2021-09-26 23:09:32 +02:00
Bruno BELANYI 8a9337710f home: firefox: put modules into folders 2021-09-26 23:09:32 +02:00
Bruno BELANYI df302465c9 home: remove unused 'secrets' module 2021-09-25 13:27:01 +02:00
Bruno BELANYI 673ead7863 home: ssh: add missing 'mkIf cfg.enable'
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-24 01:21:57 +02:00
Bruno BELANYI 3d10461a6e home: remove unused arguments 2021-09-24 01:21:57 +02:00
Bruno BELANYI c93a9e5a98 home: wm: i3: use 'recursiveMerge' 2021-09-23 22:11:25 +02:00
Bruno BELANYI 680d0c9f37 home: gdb: add nix store to safe path
For now, the nix store path is hard-coded rather than substituted.

This is useful for pretty-printing C++ types compiled with a different
C++ library from my gdb.
2021-09-03 17:34:39 +02:00
Bruno BELANYI 8596ce8638 home: wm: i3bar: remove redundant '%' 2021-08-31 18:31:32 +02:00
Bruno BELANYI 9aba0d3ce0 home: pager: remove lesspipe
I don't use it anymore.
2021-08-30 21:23:13 +02:00
Bruno BELANYI 11fbbd62eb home: zsh: clean-up blank in history
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-25 12:51:38 +02:00
Bruno BELANYI d21087ddcd home: zsh: append to history
Otherwise the file is replaced rather than appended to.
2021-08-25 12:44:42 +02:00
Bruno BELANYI 3919a87d9e home: zsh: do not share history accross shells
It's more annoying than helpful...
2021-08-25 12:22:36 +02:00
Bruno BELANYI 3fd487bbd2 home: gdb: fix configuration path
All checks were successful
continuous-integration/drone/push Build is passing
Turns out the latest version of `gdb` does not yet look for its
configuration in `XDG_CONFIG_HOME`...
2021-08-22 15:02:57 +02:00
Bruno BELANYI 5916ae631d home: gdb: add rr 2021-08-21 01:13:14 +02:00
Bruno BELANYI 1a436fd962 home: gdb: fix auto-load safe path 2021-08-20 21:22:27 +02:00
Bruno BELANYI a48303e66d home: add gdb
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-20 20:03:51 +02:00
Bruno BELANYI f2dfeeb35b home: git: use topological order in log
It is the one that makes most sense, rather than some kind of date
order...
2021-07-13 17:50:44 +02:00
Bruno BELANYI ea7b064546 home: direnv: update to new option name
All checks were successful
continuous-integration/drone/push Build is passing
And enable the flakes option.

I don't actually use this on my own projects, but it could be useful for
other projects that I contribute to.
2021-06-30 20:08:07 +02:00
Bruno BELANYI ff8e64d601 home: mail: add himalaya
This mail client is very KISS. I like it.
2021-06-30 20:08:06 +02:00
Bruno BELANYI 6eb3942270 home: firefox: add sponsorblock
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-27 19:51:04 +02:00
Bruno BELANYI 2232062fd9 home: secrets: use more specific type
I will amend it if I need more types, but for now this is fine.
2021-06-27 19:48:42 +02:00