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
Donovan Glover
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
Donovan Glover
c5bfcdfa69
ironbar: Localize mullvad status
2024-03-09 00:02:19 -05:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
d9f61cdad9
neovim: Drop cosco-vim
...
Didn't end up using the automatic semicolons nearly as much.
2024-03-08 19:58:58 -05:00
Donovan Glover
a623cb5de5
hyprland: Add config for hyprlock/hypridle
2024-03-08 05:34:22 -05:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
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
Donovan Glover
f7df16b6a1
chore: Update to latest nixos-unstable release
2024-03-05 19:17:23 -05:00
Donovan Glover
98a2ccf147
neovim: Use treesitter for astro/css over astro-vim
...
Improves syntax highlighting.
2024-02-28 07:33:25 -05:00
Donovan Glover
140a71e7d6
joshuto: Make text preview work for .astro files
2024-02-25 04:58:03 -05:00
Donovan Glover
6d047a9567
chore: Update to latest nixos-unstable-small release
...
cargo-audit has been dropped to fix an issue with libgit2, which should
be fixed in 1-2 weeks or so. Additionally, nvim-base16 has been renamed
to base16-nvim, which is currently only recognized on -small.
2024-02-19 08:28:34 -05:00
Donovan Glover
7cb28af1f8
hyprland: Add nodim rule for jp locale picture-in-picture
...
Fixes an issue where picture-in-picture was being dimmed after changing
the locale.
2024-02-18 23:58:35 -05:00
Donovan Glover
83db7606f4
chore: Simplify
2024-02-18 23:55:38 -05:00
Donovan Glover
17ebae09d3
neovim: Use language servers for html/css/json
2024-02-15 23:55:31 -05:00
Donovan Glover
18fccf23de
hyprland: Use Super+M to change monitor focus
2024-02-08 22:57:09 -05:00
Donovan Glover
f2ff938e79
chore: Remove unnecessary comments
2024-02-08 22:51:22 -05:00
Donovan Glover
69b7e09c31
chore: Use tailwindcss-colors-nvim from nixpkgs
...
No need to define this manually now that it's upstreamed.
2024-02-08 22:39:02 -05:00