Commit Graph

711 Commits

Author SHA1 Message Date
Donovan Glover
d2fe48e8d2
chromium: Set webrtc-ip-handling-policy to public interface
Seems to fix an issue where WebRTC was previously broken in
ungoogled-chromium. Note that `default_public_interface_only`
is used instead of `default` to prevent local IP address leaks.
2024-07-21 13:54:18 -04:00
Donovan Glover
e959cd52ea
ironbar: Change primary color to new stylix one
This changes the primary color from orange to blue.
2024-07-20 11:40:52 -04:00
Donovan Glover
f3037ae4b8
hyprland: Shorten window rules 2024-07-20 11:38:22 -04:00
Donovan Glover
942f626000
hyprland: Remove old mouse bind keybinds
This wasn't that reproducible since the keybinds were set with piper so
I'd rather not have it in the config.
2024-07-19 15:46:44 -04:00
Donovan Glover
6a345009f6
chore: Fix formatting 2024-07-19 11:04:11 -04:00
Donovan Glover
c27a257adc
eww: Increase opacity of time overlay 2024-07-18 21:54:54 -04:00
Donovan Glover
8f45534128
hyprland: Float mullvad browser by default
Floating by default is necessary so the browser is initialized with
the correct window size.
2024-07-18 21:26:23 -04:00
Donovan Glover
7bb8aa9674
eww: Replace hard-coded color values with stylix ones 2024-07-18 19:53:07 -04:00
Donovan Glover
838dedede9
ironbar: Drop tray for now
Currently the tray shows duplicate icons and crashes when Mullvad VPN is
started, making it less than ideal for daily use.
2024-07-18 13:33:05 -04:00
Donovan Glover
787dda981b
Reapply "meta: Replace dunst with swaync"
Might be able to use swaync after all if I avoid using the mpris module
with it. This has the advantage of being supported by ironbar, which
would make missing notifications less likely.
2024-07-18 13:30:20 -04:00
Donovan Glover
40c7b04a9a
chore: Clean up language specifiers
- Removed useless /* bash */ specifier
- Used new hyprlang specifier for Hyprland
- Removed or replaced old /* config */ specifiers
2024-07-18 11:00:34 -04:00
Donovan Glover
c6707b2429
neovim: Drop base16-nvim version override
Color differences seem to be fixed now, possibly because of neovim
v0.10.0.
2024-07-17 19:47:26 -04:00
Donovan Glover
9368bdc58a
ironbar: Fix volume sliders not showing properly
Now it's possible to actually see the volume sliders.
2024-07-17 18:50:51 -04:00
Donovan Glover
2e721b1cdf
ironbar: Add back volume popup
The on-click was extremely buggy so the popup should be preferred where
possible.
2024-07-17 18:49:52 -04:00
Donovan Glover
d7bc4375d8
home: Add alacritty config
Alacritty has vastly superior touch support compared to kitty, which
doesn't feature touch support at all. The simplicity of Alacritty also
makes it faster and overall cleaner to use than GNOME Console (kgx).
2024-07-17 07:46:58 -04:00
Donovan Glover
bd29ae2517
git: Remove useless browser specifier
This *shouldn't* have changed anything anyway since `man git-web--browse`
suggests that only a subset of browsers are supported anyway, which
doesn't include librewolf.
2024-07-17 07:17:14 -04:00
Donovan Glover
99db650782
kitty: Remove useless browser specifier
Should make the config more portable by not explicitly declaring
librewolf here.
2024-07-17 07:15:58 -04:00
Donovan Glover
a2f21d1eca
chore: Update to latest nixos-unstable release
Seems to work so far and comes with the icoextract fix and the walker
update.
2024-07-15 20:28:44 -04:00
Donovan Glover
b3cfdaab9a
ironbar: Add attempt at using volume module
This was my attempt at using the volume module, however I'd rather not
have to deal with using the small sliders that are extremely difficult
to see with the GTK theme I'm using.

I tried changing the colors with color, background, and border-color,
however I wasn't able to achieve the appearance I wanted, and disabling
the built-in popup results in a buggy left-clicking experience.
2024-07-15 19:45:44 -04:00
Donovan Glover
b5fff96a91
ironbar: Don't show battery status if no battery 2024-07-15 18:27:51 -04:00
Donovan Glover
8abb714021
hyprland: Use new seasonal backgrounds
It's that time of year again.
2024-07-15 18:24:29 -04:00
Donovan Glover
3a8f3bcd32
ironbar: Let mullvad handle notifications
Simplifies things a bit.
2024-07-15 18:13:12 -04:00
Donovan Glover
61b5a5dd31
home-manager: Add chromium config
Fixes issues encountered with xwayland + ironbar and fcitx5 not
working with the wayland version.

See: https://wiki.archlinux.org/title/Chromium#Native_Wayland_support
2024-07-15 17:02:38 -04:00
Donovan Glover
b877855580
dual-function-keys: Prefer media keys over Super+F1/F2
Should make these keys easier to use and understand.
2024-07-15 17:02:18 -04:00
Donovan Glover
986df40078
hyprland: Remove touch-specific stuff
Will stop trying to make Hyprland work on mobile devices due to all the
issues with it for now.

For future reference, some issues include:

- Touch events not registering as touches, thus breaking applications
  that have touch support like LibreWolf with FriendlyFox.
- OSK support in general being not there yet with the best keyboard
  Squeekboard not working and wvkbd not being comfy enough to use.
- Screen size in general being small already so having multiple apps
  side-by-side is mostly useless, especially when the OSK interferes
  with this as well.
2024-07-15 12:08:47 -04:00
Donovan Glover
a772d0e164
hyprland: Attempt to use hide on touch feature
This worked but broke when changing the display from e.g. 200% scaling
to 100% scaling. Since being able to easily change the scaling of
Hyprland was one of the main reasons I wanted to try Hyprland over
Phosh, I don't really have a use case for Hyprland on touch devices at
this moment, especially with all the drawbacks of using it on such a
small screen and without hardware acceleration.
2024-07-15 11:52:45 -04:00
Donovan Glover
6d9149dbab
Revert "hyprland: Add attempt at using hyprscroller" 2024-07-14 16:32:42 -04:00
Donovan Glover
c105eda0b6
hyprland: Add attempt at using hyprscroller
Note that this wasn't actually that useful on the pinephone due to
how overview mode is handled and how windows are shown in general.
2024-07-14 16:31:21 -04:00
Donovan Glover
85616db318
Reapply "hyprland: Add attempt at using wvkbd" 2024-07-14 14:26:15 -04:00
Donovan Glover
8d73151486
Revert "hyprland: Add attempt at using wvkbd"
Not sure why this doesn't work anymore but I'd rather use Squeekboard if
I can simply due to it being a lot more convenient to type on.
2024-07-14 09:52:36 -04:00
Donovan Glover
1a1280c287
hyprland: Add attempt at using wvkbd
Squeekboard was misbehaving so I thought I'd have better luck with
wvkbd, but it turns out that this isn't the case. For some reason,
nothing can be typed at all which is even worse than Squeekboard.
2024-07-14 09:49:32 -04:00
Donovan Glover
f16aa7ecd1
hyprland: Add initial touch support with hyprgrass
This seems to work and should help us replace phosh with hyprland
long-term.
2024-07-14 09:30:13 -04:00
Donovan Glover
9a3c1976ab
Revert "xdg: Hide desktop entries with home-manager"
As alluded to previously I'd rather whitelist applications that show in
a launcher than exclude them.
2024-07-14 09:22:18 -04:00
Donovan Glover
15dbd547d2
xdg: Hide desktop entries with home-manager
This commit is mainly for documenting purposes since I'd rather not
have to maintain a list of desktop entries to exclude.
2024-07-14 09:20:59 -04:00
Donovan Glover
b58ff821d6
ironbar: Increase sleep time before fetch
Fixes a race condition where the location would show up as
disconnected.
2024-07-14 09:19:23 -04:00
Donovan Glover
2f5cd4c0db
chore: Update to latest nixos-unstable release
Note that icoextract has been removed for the time being since I
accidentally broke it in a nixpkgs PR.
2024-07-14 09:18:33 -04:00
Donovan Glover
c784a8122f
hyprland: Simplify mpv commands 2024-07-12 12:42:38 -04:00
Donovan Glover
1b49b750ba
hyprland: Add batsignal for battery notification 2024-07-11 19:32:32 -04:00
Donovan Glover
d9222585a5
Revert "meta: Replace dunst with swaync"
Unfortunately swaync appears to *significantly* slow down the boot
process, so sticking with dunst ensures that everything works properly.
2024-07-11 18:47:19 -04:00
Donovan Glover
4bd63595a3
hyprland: Drop hyprspace for now
The less code the easier it is to maintain.
2024-07-11 18:28:48 -04:00
Donovan Glover
d09172cc8b
hyprland: Fix invalid dispatcher on startup from plugin
This works strangely enough.
2024-07-11 18:04:03 -04:00
Donovan Glover
8fb63f0712
meta: Replace ncmpcpp song change script with mpdris2-rs
This greatly simplifies the config and enables the usage of song change
notifications outside of ncmpcpp.
2024-07-11 07:58:16 -04:00
Donovan Glover
e4c968bf75
meta: Replace custom scripts with swayosd
No idea why I didn't do this before but this significantly simplifies
things and makes the experience nicer overall.
2024-07-10 22:28:46 -04:00
Donovan Glover
0879043b17
meta: Replace dunst with swaync
Seems to work so far and should let us have a cooler way to access the
notification history.
2024-07-10 22:14:27 -04:00
Donovan Glover
c348eb69d7
Revert "zathura: Fix opaque highlight color"
Shouldn't be needed anymore now that we're using the latest stylix
commit. Note that I don't care enough about this to use 0.3 highlight
transparency instead of 0.5.
2024-07-10 00:12:14 -04:00
Donovan Glover
219e5d1b0b
hypridle: Use minimum screen brightness
Prevents the screen from increasing in brightness when the original
value is lower.
2024-07-08 14:08:08 -04:00
Donovan Glover
837b37d834
hyprland: Add script to toggle internal laptop display
The auto-left ensures that the external monitor is always on the right.
2024-07-08 11:25:15 -04:00
Donovan Glover
44a2f7e995
hyprland: Use monitor on right with high refresh rate
Fixes two distinct issues: One where the monitor positions would
previously get mixed up and one where high refresh rate wasn't the
default.
2024-07-08 10:38:25 -04:00
Donovan Glover
a9d96a06d9
hyprland: Migrate gaps script from bash to fish
Makes the code base more consistent when everything is written in one
shell language.
2024-07-07 13:19:58 -04:00
Donovan Glover
375d85cd76
hypridle: Disable laptop keyboard backlight on dim
Also restores the previous state when resuming activity.
2024-07-07 11:00:58 -04:00
Donovan Glover
aa61279c71
hyprland: Add notification on wifi toggle 2024-07-07 10:45:33 -04:00
Donovan Glover
552d2a1956
ironbar: Sleep before fetching mullvad location
Fixes an issue where mullvad would report the device as offline before
connecting to a server. Only happens in newer versions of nixxpkgs.
2024-07-07 10:12:43 -04:00
Donovan Glover
92fec28699
hyprland: Add base Super+Tab support with Hyprspace
This seems to be more useful than hycov and hyprexpo for hyprnome
workflows.
2024-07-07 08:49:24 -04:00
Donovan Glover
aa0ee9330c
neovim: Fix capital scheme names breaking base16-nvim 2024-07-06 17:57:10 -04:00
Donovan Glover
06d3abf811
nvd: Exclude neovim treesitter grammars from diff 2024-07-06 11:48:20 -04:00
Donovan Glover
8d676a7b58
chore: Update to latest nixos-unstable release 2024-07-06 11:38:21 -04:00
Donovan Glover
2050b758ab
home-manager: Use string variable for notify-send
Since the variable has to be a string anyway, wrapping the entire
command in it reduces complexity a bit.
2024-07-06 11:17:57 -04:00
Donovan Glover
307a7fb543
home-manager: Use extraSpecialArgs for shared variables
Makes it possible to avoid inconsistencies with duplicate code.
2024-07-06 11:15:13 -04:00
Donovan Glover
5378f4c927
hyprland: Add mute script for microphone 2024-07-05 15:41:49 -04:00
Donovan Glover
ad58ee22a6
stylix: Update to latest commit
Dropping the Kvantum fork for now to focus on staying up to date with
the recent Stylix developments.
2024-07-05 15:39:12 -04:00
Donovan Glover
7913e784bd
Revert "hyprland: Disable animate_mouse_windowdragging"
This was fixed in a recent Hyprland version.
2024-07-04 09:35:14 -04:00
Donovan Glover
97fdb6d22a
neovim: Drop fcitx-vim
This was significantly increasing start time and I didn't use it too
much. There should be lighter alternatives out there that aren't
packaged in nixpkgs.
2024-06-25 23:36:45 -04:00
Donovan Glover
3b25740fb1
neovim: Inherit scheme instead of slug from stylix
Fixes an issue where importing the path directly changed the slug name
in stylix.
2024-06-20 22:31:35 -04:00
Donovan Glover
fc69d7980f
hyprland: Disable initial_workspace_tracking
Fixes an issue where new windows from ironbar and eww would open on the
first workspace instead of the current one.
2024-06-13 05:42:08 -04:00
Donovan Glover
ca4e454138
qutebrowser: Nixify remaining config settings 2024-06-02 12:53:28 -04:00
Donovan Glover
481cc84e9a
qutebrowser: Declare remaining binds with nix 2024-06-02 12:36:39 -04:00
Donovan Glover
9b04d65774
qutebrowser: Don't specify context menu colors
Will let this be handled by stylix instead since the colors are good
enough and more closely align with the color scheme being used.
2024-06-02 12:35:27 -04:00
Donovan Glover
c0062d1310
qutebrowser: Prefer declaring unbinds with null in nix
This is possible since the home manager module handles the null case.

See: 9b53a10f4c/modules/programs/qutebrowser.nix (L29-L36)
2024-06-02 12:23:46 -04:00
Donovan Glover
49fda4f0ae
meta: Move dev tools to shell
Avoids having a separate home module just for packages and makes
essential tooling accessible in all shells.

Note that the legacy `texlive.combined.scheme-full` was replaced with
`texliveFull` in this commit.
2024-06-02 11:39:47 -04:00
Donovan Glover
7587043310
yazi: Include modified time by default
Makes it easier to see which files are older. When not necessary, `m`
can be used to change the linemode.
2024-06-02 11:07:12 -04:00
Donovan Glover
4f19c5df14
zathura: Fix opaque highlight color
Fixes an issue where newer versions of zathura changed how colors were
specified. Should eventually be fixed upstream in stylix, but we're
using the Kvantum fork for theming support in Qt applications.

Based on the upstream pull request with a preference for 0.3 highlight
transparency over 0.5.
2024-06-02 10:57:22 -04:00
Donovan Glover
5e7b6c7fdc
fish: Simplify deno abbreviations
`deno add` is now preferred over `deno install`. Additionally, `deno
compile` doesn't work on NixOS, and creating a derivation should be
preferred instead.
2024-06-02 10:52:19 -04:00
Donovan Glover
41f9b015dc
fish: Remove unused cargo abbreviations
It's easier to build off of existing projects than start with a new one
entirely, hence why I stopped using cargo init/new.
2024-06-02 10:42:50 -04:00
Donovan Glover
a65d312a09
fish: Remove ~/.local/bin from $PATH
No longer necessary since we're using NixOS. Anything that was in
~/.local/bin should be declaratively defined instead.
2024-06-01 22:11:43 -04:00
Donovan Glover
ce02f98e0c
neovim: Drop csv-vim
This actually isn't that useful and has some bugs where errors are shown
and the neovim tree window is used instead of the active window with the
CSV file.
2024-05-31 16:25:26 -04:00
Donovan Glover
47c6d60229
hyprland: Use home-manager module for hyprlock 2024-05-28 13:19:15 -04:00
Donovan Glover
1462c868b6
hyprland: Use home-manager module for hypridle 2024-05-28 13:13:01 -04:00
Donovan Glover
f80d3c356d
fish: Add ex function
Used for extracting multi-part archives.
2024-05-28 13:04:47 -04:00
Donovan Glover
0d2cde7e36
fish: Add tmp function
This is the preferred way of starting qutebrowser.
2024-05-28 11:56:32 -04:00
Donovan Glover
2fbad70214
fish: Add epub2pdf function
This is part of migrating scripts from ~/.local/bin to the nix-config.
Note that this also lets us use packages that aren't available in a
user's $PATH.
2024-05-27 23:33:50 -04:00
Donovan Glover
23b5891753
librewolf: Don't include mbrola
Reduces the closure size when mbrola isn't included in any other
packages.
2024-05-26 05:57:49 -04:00
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