Commit Graph

630 Commits

Author SHA1 Message Date
Donovan Glover
566e479f32
meta: Move dev tools to separate module
Should fix the ci running out of space. Eventually we'll want to remove
this from our global $PATH and leverage nix flakes instead.
2024-05-20 13:14:11 -04:00
Donovan Glover
d209a08ff1
librewolf: Don't suggest open tabs 2024-05-20 11:52:45 -04:00
Donovan Glover
bd1cb1e36e
fish: Drop $SSH_AUTH_SOCK
Shouldn't be needed since this gets handled by the ssh-agent module if
enabled instead.
2024-05-20 11:49:33 -04:00
Donovan Glover
4e61b89e3b
vimtex: Set out_dir to /tmp/vimtex
This guarantees that auxiliary files won't be present in the current
directory from latexmk, and encourages reproducible pdfs with the usage
of tectonic.
2024-05-20 11:07:20 -04:00
Donovan Glover
0f5f85c61d
librewolf: Don't suggest search engines
Removes the useless DuckDuckGo suggestion when starting a search with
"d".
2024-05-20 11:06:12 -04:00
Donovan Glover
f3b256d361
librewolf: Don't restore pinned tabs simultaneously
Makes pinned tabs more viable since timing correlation attacks can be
reduced after a browser crash.
2024-05-20 10:42:43 -04:00
Donovan Glover
7bd2ae13ac
librewolf: Don't suggest bookmarks
Mainly for a peace of mind when performing searches.
2024-05-20 10:42:09 -04:00
Donovan Glover
b26094698c
Revert "vimtex: Drop unnecessary vimtex_view_method"
This breaks synctex support for zathura.
2024-05-20 01:01:04 -04:00
Donovan Glover
d1f571bc48
vimtex: Drop unnecessary vimtex_view_method
Seems to be handled automatically by xdg-open, so removing this makes
the config more portable.
2024-05-20 00:32:07 -04:00
Donovan Glover
9b79bc6a61
meta: Remove nixpkgs-fmt / nixfmt from global $PATH
These should be used at the flake level instead so `nix fmt` can be
used.
2024-05-19 23:33:35 -04:00
Donovan Glover
7273b6c3f2
fish: Remove useless export GPG_TTY=(tty)
This is automatically handled by home-manager's gpg-agent module.
2024-05-19 23:26:30 -04:00
Donovan Glover
e96bb70ed7
direnv: Prefer silent option over $DIRENV_LOG_FORMAT
This actually sets $DIRENV_LOG_FORMAT for us.
2024-05-19 23:19:06 -04:00
Donovan Glover
a7cd5bcc3d
fish: Drop $TERMCMD
Not needed since we don't use ranger anymore.
2024-05-19 23:02:01 -04:00
Donovan Glover
7aa2360d65
librewolf: Don't require extensions to be signed 2024-05-19 14:32:52 -04:00
Donovan Glover
02cf2abc7d
librewolf: Don't suggest frequently visited sites 2024-05-19 14:31:36 -04:00
Donovan Glover
a2aa6149a6
neovim: Switch from marksman to markdown-oxide
Seemed a bit buggy from initial testing, but should overall have more
features for PKM-related activities than marksman.
2024-05-15 17:39:28 -04:00
Donovan Glover
b438e9bafc
feat: Drop typst support
Although typst is an interesting project, TeX has vastly superior
typesetting and a significantly larger repository of existing packages
and knowledge to extend upon.

I faced auto-updating issues with typst that weren't present with
vimtex, and TeX in general has better support for auto-completions due
to its \backslash usage.
2024-05-14 08:21:50 -04:00
Donovan Glover
08cc18133d
ironbar: Add battery indicator support with upower
It turns out that I'd rather have a battery indicator than having to
`cat /sys/class/power_supply/BAT0/capacity` all the time.

Depends on upower and results in the battery indicator always being
shown even when virtualized.
2024-05-13 11:06:18 -04:00
Donovan Glover
aa32d93576
meta: Move base16-nvim into separate package
Makes the package easier to use outside of the config.
2024-05-12 20:48:04 -04:00
Donovan Glover
4fcf7d48af
meta: Remove sqlite / sqlcipher from global $PATH
Will be handled in individual project flake.nix files instead.
2024-05-12 19:17:18 -04:00
Donovan Glover
78d3861fd5
meta: Remove pnpm / yarn / bun from global $PATH
Will be focusing on npm instead since tooling is excellent and I'd
rather have a package manager that's old, reliable, and just works
than a newer one that might be missing a feature I need.
2024-05-12 14:46:26 -04:00
Donovan Glover
522ea1201d
meta: Remove crystal / shards from global $PATH
This is a part of having separate flake.nix files for each project
and using devShells for the dependencies needed.

Note that using Crystal as a language seems less likely overall due to
the difficulty of building Crystal packages for nixpkgs and the lack of
tooling and library support compared to other languages like TypeScript
and Rust.
2024-05-12 14:41:04 -04:00
Donovan Glover
0f687e989d
fish: Remove bun abbreviations
I originally thought I was going to use bun, but it turns out that there
are simply too many inconveniences compared to using npm itself, which
includes built-in nixpkgs support with buildNpmPackage and vastly
superior shell completions among other things.
2024-05-12 13:23:00 -04:00
Donovan Glover
69495f38d9
npm: Remove .npm-packages
We no longer need to worry about this since we can install npm packages
with Nix instead.
2024-05-12 12:00:28 -04:00
Donovan Glover
4d3cb6c027
chore: Prefer hash over sha256 2024-05-12 11:55:47 -04:00
Donovan Glover
ff2caf7354
fish: Remove .cargo from $PATH
Rust programs are easy enough to install The Nix Way so there's no real
reason to put .cargo in $PATH, especially when programs that have
dependencies like openssl won't work this way.
2024-05-12 10:48:46 -04:00
Donovan Glover
2bd7a0cef9
fish: Remove .deno from $PATH
It turns out I don't use deno nearly as much as I thought I would,
especially when the current node ecosystem works so, so well in
comparison.

I also haven't encountered any deno-specific programs that would be
worth installing globally.
2024-05-12 10:40:34 -04:00
Donovan Glover
5cc8a9002f
fish: Remove $GOPATH
Shouldn't be needed since I'm no longer interested in long-term Go
development. For when I *do* need to use Go, those packages can be
built as Nix derivations.
2024-05-12 10:28:35 -04:00
Donovan Glover
48a6d8f5b3
fish: Remove .go from $PATH
I don't plan on globally installing go packages anymore anytime soon.
2024-05-12 10:26:28 -04:00
Donovan Glover
8a59fb9bbb
neovim: Prefer treesitter prisma over vim-prisma
vim-prisma currently has an issue where the syntax highlighting gets
messed up as one scrolls. The treesitter version doesn't have this
issue, which makes it more pleasing to work with.
2024-05-12 10:25:39 -04:00
Donovan Glover
5f002c7405
fish: Remove tauri text size workaround
Would rather just not use tauri than have this in the config.
2024-05-11 10:32:49 -04:00
Donovan Glover
c6a35490d1
fish: Remove .yarn from $PATH
I don't use yarn anymore since npm is better now.
2024-05-11 10:31:30 -04:00
Donovan Glover
681251cc75
neovim: Remove useless if statement
Yikes.
2024-05-10 15:31:32 -04:00
Donovan Glover
1a2dc0b5ae
meta: Don't install prisma globally
Prisma should be version locked to each individual project instead.
2024-05-10 14:55:32 -04:00
Donovan Glover
fbb060f197
meta: Don't define prisma env variables globally
This should be handled in individual flake.nix files for the respective
projects instead so they can depend on their own version of prisma.
2024-05-10 14:53:10 -04:00
Donovan Glover
cb650a5b5b
chore: Remove redundant nodePackages.npm
Not needed since npm is included with nodejs.
2024-05-03 07:49:45 -04:00
Donovan Glover
50d788ab4d
ironbar(mullvad): Localize new server location 2024-05-03 07:49:01 -04:00
Donovan Glover
ca4311fbd9
neovim: Replace vim-pug with treesitter
I don't use pug anymore so using treesitter is easier than having to
worry about a separate plugin.
2024-04-30 05:57:24 -04:00
Donovan Glover
08b6b737b6
neovim: Replace vim-vue with treesitter + vuels
Note that Vue tooling is seemingly subpar compared to React + TypeScript
so despite learning Vue first (and Angular.js before that), I don't
think I'd ever want to work with Vue again after getting familiar with
functional programming and React.
2024-04-30 05:40:33 -04:00
Donovan Glover
6d859f9d61
Revert "neovim: Remove vim-jsx-pretty"
This actually breaks auto-indent in tsx files.
2024-04-29 13:38:29 -04:00
Donovan Glover
a2e751a19c
neovim: Replace bufdelete-nvim with :bp|bd #
One less plugin to worry about.
2024-04-29 13:23:30 -04:00
Donovan Glover
ac4d271842
hyprland: Replace swww init with swww-daemon
This is necessary since swww init is deprecated.
2024-04-29 13:12:29 -04:00
Donovan Glover
de8a16a10c
neovim: Remove vim-over
I now use better tools that do one thing and do it well such as sd and
the built-in renamer of language servers.
2024-04-29 13:11:12 -04:00
Donovan Glover
36b322bb0c
neovim: Remove vim-jsx-pretty
Shouldn't be needed in modern times (or at least with treesitter) and no
observable difference was found when removing it.
2024-04-29 13:07:15 -04:00
Donovan Glover
4f120eab26
neovim: Drop emmet-vim
Don't use this nearly as much if at all in 2024 and any duplication is
usually handled programmatically or, in rare cases, with vim itself.
2024-04-29 12:47:38 -04:00
Donovan Glover
52bf43a2a7
neovim: Drop zen-mode-nvim
I never used this and it seems to cause more issues than it's worth.
It's easier to simply hide the tree on the left and manually adjust the
size of the kitty window.
2024-04-29 12:46:36 -04:00
Donovan Glover
48e173ac34
neovim: Drop useless markdown specifier
This seems to be the default now.
2024-04-29 12:46:12 -04:00
Donovan Glover
6711f75a0c
base16-nvim: Downgrade from 2024-04-18 to 2024-02-17
This fixes an issue where syntax highlighting was fixed upstream, which
broke my workflow since I was using the changing colors of the plugin
to determine when the LSP was loaded in. I also liked how it syntax
highlighted valid identifiers a different color than invalid ones.

See: https://github.com/RRethy/base16-nvim/pull/96
2024-04-25 12:52:38 -04:00
Donovan Glover
39e5183013
chore: Simplify
Note that biome isn't needed since eslint is *the* industry standard.
2024-04-22 22:29:47 -04:00
Donovan Glover
6fceabf0fc
ironbar: Update script for new mullvad status
Prevents the status from showing when not connected.
2024-04-22 22:18:59 -04:00
Donovan Glover
e1509cabe9
fish: Drop pnpm abbreviations
I'll still use pnpm when I *need* to, however the lack of support for
pnpm in nixpkgs is a show-stopper I'd rather not have to deal with when
npm works out of the box.

pnpm was originally used for faster install times and pnpm workspaces,
however npm now has its own workspaces and I'm okay with slower install
times if it means that everything works without fragile workarounds.
2024-04-21 08:59:41 -04:00
Donovan Glover
90a8565b12
fish: Drop yarn abbreviations
Yarn has been outdated for a while now, especially with the failure for
new projects to switch to "berry" among other things. I should never
need to use it again, but if I do, I don't need the abbreviations.

Yarn was originally used for yarn workspaces and faster install times.
Nowadays, however, other package managers are able to do both in more
efficient ways.
2024-04-21 08:54:54 -04:00
Donovan Glover
0ea334ae81
neovim: Drop yats-vim
Apparently dropping "Yet Another TypeScript Syntax" makes the startup
time of Neovim about twice as fast. This was originally added to fix an
issue with "type" annotations in imports being incorrect, although this
appears to have been fixed now.

From a cursory glance, there seems to be no difference between yats-vim
and the treesitter syntax highlighting I use, so it should be fine to
drop this for the massive performance gains.
2024-04-21 07:55:49 -04:00
Donovan Glover
d87ae2c7de
hyprland: Fix swap-bg script for files with spaces 2024-04-20 15:33:41 -04:00
Donovan Glover
54a392bc58
gtk: Remove redundant icon declaration
Not needed with stylix.
2024-04-18 21:26:25 -04:00
Donovan Glover
f9426b18c8
meta: Drop xcursor
This doesn't seem to change anything nowadays with Hyprland so it should
be okay to drop in 2024.

Edit: This seems to get set with pointerCursor in home-manager which
gets set by stylix, so it shouldn't matter either way.

See: ff1c364654/modules/config/home-cursor.nix (L172-L175)
And: b36fb34a9c/stylix/hm/cursor.nix (L15)
2024-04-18 21:17:38 -04:00
Donovan Glover
6826ef0307
phinger-cursors: Upgrade to 2.0 with phinger-cursors-dark
The new archive comes with a phinger-cursors-dark directory instead of
a phinger-cursors directory, which was a breaking change.
2024-04-18 20:28:29 -04:00
Donovan Glover
f91bf00256
chore: Remove redundant build tools from global environment
These *shouldn't* be needed since if a package requires these tools,
they'll have their own nix derivation.
2024-04-18 16:58:05 -04:00
Donovan Glover
fbb09fea48
neovim: Specify defaultEditor at the home-manager level
Does the same thing (with the exception of VISUAL not being set for now)
but makes the module more portable overall.
2024-04-18 13:44:25 -04:00
Donovan Glover
482c7a18e0
neovim: Use extraPackages for LSP packages
Prevents these packages from "polluting" the global namespace.
2024-04-18 12:49:14 -04:00
Donovan Glover
18e291822c
neovim: Drop plenary-nvim
This *shouldn't* be needed since it's a dependency of other vim plugins
and the dependency *should* automatically be handled at the nix level.
2024-04-18 11:02:00 -04:00
Donovan Glover
945bd13e4f
feat: Replace vim-nix-rummik with treesitter (again)
The latest treesitter changes actually make using it better than the old
vim-nix-rummik solution. Syntax highlighting works quite well for the
/* lang */ code blocks.
2024-04-18 10:53:17 -04:00
Donovan Glover
93a5fb8e6f
hyprland: Disable animate_mouse_windowdragging
Fixes an issue where having this option on would cause very noticeable
lag when dragging windows across the screen.
2024-04-17 16:09:46 -04:00
Donovan Glover
7f60479a90
chore: Run nix fmt
Also removed an unnecessary variable and added syntax highlighting.
2024-04-17 13:54:37 -04:00
Donovan Glover
1e6188cc45
hyprland: Increase shadow range from 4 to 30
Everything looks a whole lot cooler and immersive this way.
2024-04-17 13:44:35 -04:00
Donovan Glover
ad97031749
feat: Drop Go from neovim config
I am no longer interested in programming in the Go programming language
and prefer the holy trinity that is Nix, TypeScript, and Rust.
2024-04-17 12:27:29 -04:00
Donovan Glover
5097231e2a
feat: Drop docker language servers
I am no longer interested in developing Dockerfiles or
docker-compose.yml files since I am fully committed to Nix.

By sticking with one technology that gets the job done, it should be
more efficient for me to solve problems with that one domain of
expertise than having mediocre knowledge of several similar tools.
2024-04-17 12:09:36 -04:00
Donovan Glover
763a233829
feat: Drop svelte from neovim config
The hype has died down and React has emerged victorious, as expected, in
a battle that never started.

Joking aside, I don't remember the last time I've seen a svelte app
and even if I *did* come across one, I'd much rather work with standard
file types like TypeScript and TSX, of which this neovim config has
first-class support for.
2024-04-17 11:48:24 -04:00
Donovan Glover
6348c26aae
meta: Drop hycov for now
hycov is being updated again, which is cool, but I couldn't make the
latest version work with the hyprland overlay I'm currently using, and
I'd rather not have to worry about all the additional inputs from the
hyprland flake.

Overall I recall using it a lot at first, but then rarely if ever as
time went on. Once 0.39.1 gets merged into nixos-unstable, it will be
interesting to see how hyprexpo compares to hycov.
2024-04-17 11:38:34 -04:00
Donovan Glover
142cc4593d
neovim: Drop obsidian-nvim
Not sure why I added this but it seems like I have pretty great support
for markdown files without this, and I'd rather leverage my existing
toolkit of tools that do one thing and do it well.
2024-04-17 11:15:20 -04:00
Donovan Glover
941affa8df
neovim: Drop toggleterm-nvim
I never used this and just ended up creating new terminals with the
standard kitty workflow.
2024-04-17 11:13:51 -04:00
Donovan Glover
2cbcb8d7eb
neovim: Drop alpha-nvim startify
This was cute but I wasn't actually using it and it was increasing the
startup time of neovim by a whopping 600 milliseconds on average.
2024-04-16 20:49:40 -04:00
Donovan Glover
f6f180ffc3
chore: Improve formatting 2024-04-16 20:04:24 -04:00
Donovan Glover
c033a0b700
npm: Make global packages installable with .npm-packages
Useful for packages like all-the-package-names.
2024-04-16 19:46:31 -04:00
Donovan Glover
ef5b1d1dfc
hyprland: Add hyprshade 2024-04-13 09:04:04 -04:00
Donovan Glover
6a0cc46906
eza: Use separate home-manager module
Also adds the new --git-ignore feature to avoid having to manually
specify an ignore list.
2024-04-13 09:03:33 -04:00
Donovan Glover
4492f2921e
git: Make git diff work with bun.lockb 2024-04-11 12:05:15 -04:00
Donovan Glover
222c2587fa
qutebrowser: Don't hardcode download directory 2024-04-11 05:35:18 -04:00
Donovan Glover
bfd55ef40a
chore(nix): Inherit builtins at bottom 2024-04-09 09:19:29 -04:00
Donovan Glover
47c716b3ff
hyprland: Revert border/gaps change
Should be able to fix hyprdim soon.
2024-04-08 09:10:59 -04:00
Donovan Glover
b9cabc0e45
ironbar: Change volume on left/right click 2024-04-08 08:30:46 -04:00
Donovan Glover
953b79bef2
hyprland: Kill watch scripts when closing ironbar 2024-04-08 08:26:13 -04:00
Donovan Glover
e0606c4590
ironbar: Replace volume polling with watch script
Makes changes instantaneous and avoids polling.
2024-04-08 08:12:43 -04:00
Donovan Glover
a83409f8e6
ironbar(mullvad): Show server identifier in notification 2024-04-08 07:05:09 -04:00
Donovan Glover
c62c7189a5
ironbar: Watch mullvad instead of polling
Fixes an issue where logs would be filled with mullvad status requests.
2024-04-08 06:28:37 -04:00
Donovan Glover
045c489222
hyprland: Fix hycov interfering with cycleprev/next 2024-04-07 13:48:30 -04:00
Donovan Glover
fa82103e6c
meta: Drop /share/backgrounds pathsToLink
Not needed since we can just reference the background directly instead.

Note that the linking actually occurs in the modules for the DEs that
add backgrounds since it isn't part of the defaults.
2024-04-07 11:54:35 -04:00
Donovan Glover
c1eed0c69d
eww: Make icons work standalone 2024-04-07 11:05:15 -04:00
Donovan Glover
c6c49b62b5
chore: Improve formatting 2024-04-07 10:54:12 -04:00
Donovan Glover
b2828a8cb3
chore: Remove unnecessary comments 2024-04-07 10:23:09 -04:00
Donovan Glover
8b8176cf88
rofi: Enable hover-select
Supposedly necessary since a recent update broke mouse scrolling among
other things.
2024-04-07 10:21:13 -04:00
Donovan Glover
ba10f28513
fish: Move core logic to home
Making root more bare-bones should be okay due to being able to use nix
shell and nix run as needed.
2024-04-06 22:14:18 -04:00
Donovan Glover
8e4c9981ea
fish: Convert to home-manager module
The home-manager module seems to be fixed now and doesn't cause an
abnormal startup time anymore.
2024-04-06 19:37:56 -04:00
Donovan Glover
bd6fabad67
feat: Move starship/htop back to home
It's actually easier to maintain when programs with non-trivial configs
have their own module.
2024-04-06 18:46:27 -04:00
Donovan Glover
8535a06e52
chore: Improve formatting 2024-04-06 14:25:10 -04:00
Donovan Glover
8671cba57a
kitty: Drop grid/stack layouts
Simplifies things a bit for me personally.
2024-04-06 14:20:40 -04:00
Donovan Glover
074b019656
ironbar: Remove non-essential favorites
This puts the focus more on individual discovery when it comes to using
applications like anki.
2024-04-06 13:54:38 -04:00
Donovan Glover
7649c658b7
meta: Merge packages module into existing modules 2024-04-06 11:49:03 -04:00
Donovan Glover
10bc64f097
chore: Attempt to organize packages a bit
Not perfect but good enough.
2024-04-06 10:19:18 -04:00
Donovan Glover
46f778107b
chore: Improve formatting 2024-04-05 22:51:24 -04:00
Donovan Glover
e2e8971eb3
chore: Simplify variable usage
Changes made:

- Preferred "inherits" where possible
- Removed unnecessary comments
- Added variables to avoid duplicate strings
- Reduced usage of "with x;"
2024-04-05 13:30:39 -04:00
Donovan Glover
8ea3afa900
kitty: Use sane layout order
This is similar to before and makes it easier to recognize all the
different layouts when switching between them.
2024-04-05 08:11:07 -04:00
Donovan Glover
b46c9a05a9
meta: Continue modularizing packages
Should make it easier to know what's what.
2024-04-04 20:03:31 -04:00
Donovan Glover
0babbfe458
git: Show relative dates for git blame 2024-04-04 19:42:06 -04:00
Donovan Glover
107b5c79d6
ncmpcpp: Fix broken change script
It turns out that we actually *do* need to 2>/dev/null.
2024-04-04 19:41:10 -04:00
Donovan Glover
a6f2c58d51
meta: Don't hardcode home directory
This is a much better way of handling things.
2024-04-04 19:39:35 -04:00
Donovan Glover
721ead4572
chore: Inherit builtins where possible
Possibly makes things easier to read.
2024-04-04 17:56:01 -04:00
Donovan Glover
764fbd4917
Revert "meta: Migrate yazi from home-manager to shell module"
There is currently a bug where yazi crashes since it tries to create
directories but is unable to due to being managed at the system level.

There is an open PR in nixpkgs, however it's been 3 weeks and it hasn't
been merged yet.
2024-04-04 12:15:40 -04:00
Donovan Glover
e64cc2697f
meta: Migrate yazi from home-manager to shell module
This is a part of making it easier to instantly have access to yazi
without having to worry about using home-manager. Note that this works
for my use case since I don't use Nix on non-NixOS devices and don't
intend to do so anytime soon.
2024-04-04 12:14:26 -04:00
Donovan Glover
e1e1243618
meta: Migrate htop from home-manager to shell module
Realistically I want access to htop on any machine running my shell
configuration. Making this NixOS-specific removes some of the dependence
on home-manager as well.
2024-04-04 08:32:39 -04:00
Donovan Glover
a1b9cf218d
meta: Begin migrating packages to workflow-specific modules
Long-term this should make it easy to include all the GUI programs with
the desktop module and all the CLI programs with the shell module, as
well as the ability to easily disable sets of unneeded packages.
2024-04-04 08:12:16 -04:00
Donovan Glover
9ccdacaadf
chore: Simplify htop module 2024-04-03 10:12:54 -04:00
Donovan Glover
942785cf5b
chore(nix): Clean up rofi module 2024-04-03 05:52:10 -04:00
Donovan Glover
e82b8d40f9
chore(nix): Clean up ncmpcpp module 2024-04-03 05:51:01 -04:00
Donovan Glover
9c95252be4
nix: Drop unnecessary xdg.configFile 2024-04-02 19:34:25 -04:00
Donovan Glover
b8ad062cec
nix: Use lib.singleton where possible 2024-04-02 18:53:56 -04:00
Donovan Glover
0f7c8678d9
chore(nix): Use string over float
Fixes an issue where Nix was unhappy with floats being inside strings.
2024-04-02 17:17:23 -04:00
Donovan Glover
fa98ead7ea
meta(hyprland): Drop stylix-specific values
Makes it possible to use the hyprland config without stylix.
2024-04-02 16:00:05 -04:00
Donovan Glover
dfcdd78291
meta(hyprland): Configure with Nix
This change lets us take advantage of hyprland's auto-reloading
functionality and lets us use the color scheme generated from stylix.
2024-04-02 15:49:34 -04:00
Donovan Glover
a4bdf7a076
chore(nix): Prefer builtins.toJSON where possible 2024-04-02 14:46:28 -04:00
Donovan Glover
1d165d3068
neovim: Add syntax highlighting for glsl
Note that it may be easier to use treesitter highlighting by default.
2024-04-01 19:45:22 -04:00
Donovan Glover
d21ae69f39
chore: Fix formatting 2024-04-01 18:47:33 -04:00
Donovan Glover
c33ff6bd5e
feat(neovim): Add rainbow-delimiters.nvim
Rainbow parentheses were traditionally buggy with the plugins I used but
nowadays there are newer plugins available that use more flexible
technologies like treesitter.

See: https://github.com/hiphish/rainbow-delimiters.nvim
2024-04-01 15:04:33 -04:00
Donovan Glover
e2e9dde418
hyprland: Add activate linux toggle
Useful when wanting to have a little fun with screenshots. Seems to
affect performance of fullscreen applications since those receive some
sort of priority when there are no other visible layers on the screen.
2024-04-01 11:51:49 -04:00
Donovan Glover
ba6806a37a
ironbar: Prefer non-latin characters
Goes with the aesthetic.
2024-04-01 09:50:00 -04:00
Donovan Glover
44422516d4
feat(nix): Automatically import module outputs
This drastically simplifies things since we no longer have to worry
about adding and removing files from a default.nix.
2024-03-31 19:23:12 -04:00
Donovan Glover
efec942be0
hyprland(swww): Use seasonal backgrounds
It's that time of year again. This time spring style.
2024-03-30 18:41:11 -04:00
Donovan Glover
993179c4fd
ironbar: Cleanup launcher favorites
Removed a few less used applications.
2024-03-30 18:29:50 -04:00
Donovan Glover
9ee9d1c927
ironbar: Add new mullvad location
Should continue adding these as they come up.
2024-03-30 18:25:32 -04:00
Donovan Glover
23049a3e99
meta: Switch from joshuto to yazi
After almost a year of using joshuto, I have decided to switch to yazi.

The latest joshuto update broke my image preview configuration, and it
didn't make sense trying to figure out the issue with yazi already
having built-in image support and more.

Other notable improvements from this change include:

- Simplified configuration since defaults no longer have to be
  re-declared
- Faster directory loading, especially for /nix/store/ and symlinks to
  /nix/store/
- Text files are more likely to show previews without manual
  configuration
- Videos now have working previews again, similar to ranger
2024-03-30 18:20:01 -04:00
Donovan Glover
3374dde006
ironbar: Add overview button for hycov
Note that on_mouse_enter is used instead of on_click_left to avoid an
issue where the focus of hycov is lost after clicking on the bar.
2024-03-30 12:28:57 -04:00
Donovan Glover
251581d3a8
librewolf: Ensure warning on close when multiple tabs
Don't know when the default option for this was changed but it should
help prevent accidentally closing the browser.
2024-03-30 12:24:48 -04:00
Donovan Glover
93fae8e1f9
hyprland(hycov): Use hotarea_size 0 to persist mouse events
Fixes an issue where disabling the hot area would break mouse events
when interacting with the hycov overview.
2024-03-30 12:00:34 -04:00
Donovan Glover
a7d9cff7eb
hyprland(hycov): Prefer Super+Tab over Alt+Tab
Prevents applications like Librewolf from reacting to the Alt key being
pressed.
2024-03-30 11:32:00 -04:00
Donovan Glover
e236ab2dae
chore: Improve formatting 2024-03-30 11:30:33 -04:00
Donovan Glover
f1a5aa8520
neovim: Add border to nvim-lspconfig popups
This makes it easier to differentiate code from lsp popups.
2024-03-30 08:12:23 -04:00
Donovan Glover
2625987655
hyprland(hycov): Don't enable built-in hot area
This fixes an issue where the hot area would be triggered with full
screen applications. Alternatives include using the 4 finger swipe
gesture or simply using the key bind if a touchpad isn't available.
2024-03-30 08:08:03 -04:00
Donovan Glover
9d2301e84b
hyprland(hycov): Disable alt_release_exit
This fixes an issue where hycov would prematurely exit when using the
Alt+Tab keybind. Instead, it's preferred to use the navigation keys to
switch focus and press tab again to close hycov.
2024-03-30 06:35:22 -04:00
Donovan Glover
f4c27e50e5
hyprland(hycov): Fix crash by not using auto_next
Unfortunately hycov will crash hyprland if it tries to draw itself when
there are no available clients and auto_next is enabled.
2024-03-29 16:42:21 -04:00
Donovan Glover
aa6c01f9eb
hyprland: Make new windows take over fullscreen
Fixes an issue where opening pqiv while thunar was fullscreen would keep
thunar fullscreen with pqiv behind it, among other things.
2024-03-29 14:56:52 -04:00
Donovan Glover
2caaa661d9
meta(hyprland): Add hycov plugin
This cool plugin makes it possible to press "alt+tab" in order to switch
between all windows in Hyprland, particularly useful if a certain window
you want to focus is a few workspaces away from your current one.

It's also possible to swipe up with 4 fingers to show hycov, from which
you can then use 3 finger motions to switch between the shown windows.

Finally, it's possible to show hycov by simply hovering over the bottom
right part of the screen, similar to the "show desktop" functionality in
certain desktop environments and GNOME's hot corner feature.
2024-03-29 14:54:59 -04:00
Donovan Glover
32a95af4cd
mime-apps: Open text files with neovim
Note that the nvim.desktop file has to be manually patched for this to
work.
2024-03-29 10:07:40 -04:00
Donovan Glover
476e11f54a
hyprland: Make windows easier to see without hyprdim
Should be able to revert later.
2024-03-25 14:24:11 -04:00
Donovan Glover
ed0dec1e06
neovim: Add obsidian-nvim
Seems to be better than the last time I tried it.
2024-03-25 13:55:08 -04:00
Donovan Glover
637410a10e
hyprland: Fix librewolf size in 0.36.0+ 2024-03-25 13:46:01 -04:00
Donovan Glover
a169b39f8c
packages: Drop alejandra
Not needed anymore since nixfmt-rfc-style exists.
2024-03-25 11:49:04 -04:00
Donovan Glover
b1c128e6ac
joshuto: Fix selection.prefix for 0.9.8
Might switch from joshuto to yazi due to 0.9.8 breaking the kitty
preview script.
2024-03-23 19:49:01 -04:00
Donovan Glover
0151098d47
chore: Update flake inputs
Notable changes include upgrading to Plasma 6 in the DE specialization
as well as updating the pqiv config to work with the latest home-manger
change.
2024-03-22 12:22:23 -04:00
Donovan Glover
6e23ae9c4c
chore: Update to latest nixos-unstable release
- Removed old hyprlang/hyprlock overlays that are now in nixos-unstable
- Replaced pnpm-shell-completion with the one upstream
- Changed old GPG option to new one
2024-03-17 00:20:04 -04:00
Donovan Glover
1287f7dabc
chore: Fix formatting 2024-03-09 17:48:18 -05:00