Commit Graph

2581 Commits

Author SHA1 Message Date
771a97ef39 tests: Add option to exclude files from imports
Note that these tests were originally made to prevent dead code from
being in the repository, although a proper coverage solution would
likely be more useful long-term.
2024-03-30 08:32:41 -04:00
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
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
c85d2d45ba meta(flake.nix): Add packages as outputs
This makes it possible to easily use packages from this repository in
your own separate nix-config flake. This also makes it easier to test
packages locally since `nix build .#package` can be used instead of
building the entire system derivation.
2024-03-30 07:32:49 -04:00
b0a774a54d meta(osu-backgrounds): Sort by date
Makes it easier to add new entries and see which ones are missing.
2024-03-30 07:05:12 -04:00
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
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
647746b8bc chore: Cleanup hycov package
Note that the new hyprlandPlugins.mkHyprlandPlugin does not appear to
work here, which is why it wasn't used.
2024-03-29 15:21:47 -04:00
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
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
682e95ef1c chore: Drop unused packages
I only used inkscape to convert svg to png with the following command:
`fd -e svg -x inkscape -w 512 -h 512 "{}" -o "{.}.png"`

gthumb was crashing and I'd rather not have to deal with a non-trivial
GUI program that crashes on launch.

nb and obsidian are cute but ultimately I found quartz to be better for
my use case.
2024-03-29 10:16:04 -04:00
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
47d92838ee chore: Update to latest nixos-unstable release
Updates hyprland to 0.37.1 among other things.
2024-03-29 10:07:04 -04:00
13ee4a9995 chore: Update flake inputs 2024-03-25 14:24:51 -04:00
476e11f54a hyprland: Make windows easier to see without hyprdim
Should be able to revert later.
2024-03-25 14:24:11 -04:00
e208178502 chore: Update packages
Got tired of manually updating the osu! hash each time so now
allowUnfree is being used for the time being.
2024-03-25 14:23:14 -04:00
ed0dec1e06 neovim: Add obsidian-nvim
Seems to be better than the last time I tried it.
2024-03-25 13:55:08 -04:00
637410a10e hyprland: Fix librewolf size in 0.36.0+ 2024-03-25 13:46:01 -04:00
dd862ac7aa meta: Drop eza overlay
The CJK + icons bug seems to be fixed in newer versions of eza.
2024-03-25 11:56:14 -04:00
a169b39f8c packages: Drop alejandra
Not needed anymore since nixfmt-rfc-style exists.
2024-03-25 11:49:04 -04:00
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
488b7a61de packages: Drop slade
Fixes an issue where slade was causing manual compiles among other
things.
2024-03-23 18:14:54 -04:00
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
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
319dc3480c overlays(srb2): add startupWMClass to desktop item
Fixes an issue with the application showing up as a question mark after
being launched in ironbar.
2024-03-16 14:24:56 -04:00
64fc504b57 packages: Update pnpm-shell-completion to 0.5.3
Will remove this once pnpm-shell-completion becomes a part of
nixos-unstable.
2024-03-13 22:10:36 -04:00
ce79700f6a overlays: Update hyprlock to 0.2.0
Might fix an issue with the lock screen crashing when dpms is used with
multiple monitors.
2024-03-13 14:05:45 -04:00
d1f6e5f232 chore: Update flake inputs 2024-03-09 20:28:24 -05:00
1287f7dabc chore: Fix formatting 2024-03-09 17:48:18 -05:00
a7877944f4 neovim: Prefer vista-vim over tagbar
Vista supports both ctags and nvim_lsp, letting it be used for
TypeScript and other languages not supported by default with ctags.
2024-03-09 11:52:41 -05:00
fa1650198f chore: Drop unused packages
tui-journal was cool and although it could work, it's not really worth
it over taking advantage of what Logseq has to offer.
2024-03-09 11:42:19 -05:00
c5bfcdfa69 ironbar: Localize mullvad status 2024-03-09 00:02:19 -05:00
b438641363 neovim: Drop vim-endwise to fix crash with treesitter
Recent updates to neovim and/or its plugins made neovim start to crash
when typing curly braces like {}. I narrowed the issue down to vim-endwise,
which I no longer need since the current languages I use prefer curly
braces over end keywords.

Related: https://github.com/tpope/vim-endwise/issues/144
2024-03-08 22:31:43 -05:00
2fb756acda hyprland: Use new custom field for gaps in/out
Now the script works as expected with the latest commit on main for
Hyprland.
2024-03-08 21:46:49 -05:00
7c1a9a248a hyprland: Lock screen with Super+Alt+L
Alt is necessary since Super+L and Super+Shift+L are already used for
window manager stuff.
2024-03-08 21:30:10 -05:00
f9905b0ea0 chore: Simplify formatting
This should make it easier to introduce more nixosConfigurations in the
future.
2024-03-08 21:25:57 -05:00
546b0f720a overlays: Update hyprland/hyprlang to fix hyprctl bugs
Hyprland 0.36.0 changes the config quite a bit. Updating Hyprland to the
latest commit on main and hyprlang to 0.5.0 fixes a lot of the bugs that
were immediately caught after this release.
2024-03-08 21:22:47 -05:00
bfc5f5320f meta: Replace nixfmt with nixfmt-rfc-style
This repository still uses nixpkgs-fmt but it may be interesting to use
nixfmt-rfc-style in the future.
2024-03-08 20:07:23 -05:00
d9f61cdad9 neovim: Drop cosco-vim
Didn't end up using the automatic semicolons nearly as much.
2024-03-08 19:58:58 -05:00
32e443fbcd chore: Update flake inputs 2024-03-08 19:56:40 -05:00
a623cb5de5 hyprland: Add config for hyprlock/hypridle 2024-03-08 05:34:22 -05:00
d42f457528 hyprland: Add swap-bg script
Useful when you want a background from one monitor to appear on the
other one instead.
2024-03-08 00:04:53 -05:00
3a46bb767f pqiv: Set max-depth to 0
Fixes an issue where the latest version of pqiv would become
unresponsive when browsing images in directories with large
subdirectories. Also makes selecting multiple images work again.

See: https://github.com/phillipberndt/pqiv/pull/204
2024-03-08 00:00:56 -05:00
c836aa7f79 dual-function-keys: Make left shift KEY_GRAVE
Fixes an issue where ` wouldn't work in neovim due to the escape key
being recognized as pressed.
2024-03-07 22:21:36 -05:00
e67230b282 meta: Switch from swaylock to hyprlock
hyprlock matches the other animations of hyprland a bit better and is
overall more pleasant to work with.
2024-03-07 22:19:02 -05:00
9ed00dbea0 neovim: Drop clipboard-image-nvim
Logseq is slow but convenient. Ultimately it probably makes sense to use
Logseq as it's "good enough" instead of trying to make a neovim setup
work (which is more suited for programming).
2024-03-07 21:59:32 -05:00
093f085630 udev: Disable internal keyboard for now
Necessary since the current keyboard has too many broken keys.
2024-03-07 21:55:54 -05:00
48f9d1a87f virtualization: Decrease memory size from 8GB to 4GB 2024-03-05 19:26:12 -05:00
f7df16b6a1 chore: Update to latest nixos-unstable release 2024-03-05 19:17:23 -05:00
1d448a5289 zram: Increase memory percent to 100%
See https://github.com/NixOS/nixpkgs/issues/103106
2024-03-05 19:10:25 -05:00