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
Donovan Glover
b1080f7287
fcitx: Don't prefer text tray icon
...
Not needed due to how ironbar handles the tray icon differently.
2024-02-01 04:12:15 -05:00
Donovan Glover
4e397bb310
ironbar: Decrease mullvad polling interval
2024-01-31 07:27:11 -05:00
Donovan Glover
0f30e0fdb9
ironbar: Style start menu based on id
...
Makes it possible to use padding on the label instead of the bar.
2024-01-31 07:25:47 -05:00
Donovan Glover
74db7848f3
neovim: Only use treesitter highlighting for js/ts
...
Treesitter highlighting seems to be a downgrade in some cases, so I'm
okay with disabling it for most files.
2024-01-31 07:03:19 -05:00
Donovan Glover
9032c5e7e0
ironbar: Add left padding for bar
...
Makes the spacing more consistent with the right side.
2024-01-31 05:33:44 -05:00
Donovan Glover
bb54cc3ab4
ironbar: Add padding for script/tray modules
2024-01-30 18:09:50 -05:00
Donovan Glover
460978aa43
ironbar: Change mullvad location on click
2024-01-30 18:08:31 -05:00
Donovan Glover
baeee11328
ironbar: Add volume indicator
2024-01-29 18:33:10 -05:00
Donovan Glover
852299de1a
neovim: Add docker language servers
2024-01-29 18:16:41 -05:00
Donovan Glover
704f9d6be9
pqiv: Always scale 100% outside fullscreen
2024-01-29 18:10:53 -05:00
Donovan Glover
edde3c3e42
hyprland: Change volume before sending notification
2024-01-29 17:18:09 -05:00
Donovan Glover
84d7abfbfb
ironbar: Show mullvad status
...
Only shows when connected.
2024-01-28 10:53:50 -05:00
Donovan Glover
455a9d65f0
ironbar: Replace clipboard with start menu
...
Note that on_mouse_enter is used instead of on_click_left since there's
currently a bug where clicking anywhere on the bar will repeat the last
on_click_left event.
2024-01-28 10:47:32 -05:00
Donovan Glover
e60ef84784
hyprland: Fix volume notification when at 0/100%
2024-01-28 10:30:06 -05:00
Donovan Glover
32dab8b515
librewolf: Drop letterboxing
...
Makes it easier to evaluate web designs among other things.
2024-01-28 05:21:00 -05:00
Donovan Glover
cfac2336bf
ironbar: Show tray in bar
2024-01-28 05:19:18 -05:00
Donovan Glover
b1dabb9d1b
rofi: Disable history
...
Makes icon locations more predictable.
2024-01-27 23:57:55 -05:00
Donovan Glover
b7a9416e35
feat: Theme Qt applications with stylix
...
Most Qt/KDE applications look way better after this.
2024-01-25 17:35:37 -05:00
Donovan Glover
e2d69c199d
Revert "neovim: Replace vim-nix-rummik with treesitter"
...
treesitter actually broke syntax highlighting for things like yaml, so I
prefer the rummik branch for now.
2024-01-17 21:24:50 -05:00
Donovan Glover
bb3792d748
fcitx: Use wayland front-end for GTK
...
Fixes the warning notification shown on boot.
2024-01-13 00:39:29 -05:00
Donovan Glover
c4b766309d
neovim: Drop image-nvim for now
...
image-nvim is currently broken in nixpkgs, however it should be fixed
with an open pull request.
2024-01-13 00:30:35 -05:00
Donovan Glover
77b1715c2f
chore: Re-enable typst-lsp
...
Build is fixed now.
2024-01-12 07:21:13 -05:00
Donovan Glover
f42793623d
neovim: Replace vim-nix-rummik with treesitter
...
This was my attempt at replacing vim-nix-rummik with treesitter. Note
that there was actually a case where inline yaml wasn't highlighted at
all, so I'll probably stick to the tried and true vim-nix-rummik, even
if it has the parentheses bug with lua.
2024-01-12 04:29:19 -05:00
Donovan Glover
49cc04114e
neovim: Enable treesitter highlighting
...
This works, however some of the syntax highlighting with treesitter
feels worse compared to the default syntax highlighting, so it may be
more useful to keep it disabled.
2024-01-12 04:26:02 -05:00
Donovan Glover
b38a49d37b
qutebrowser: Don't artificially change webpage colors
...
I like seeing the original designs of websites.
2024-01-07 18:45:27 -05:00
Donovan Glover
db42c4c4b6
qutebrowser: Re-enable auto insert mode
...
Note that I may drop qutebrowser later since I don't use it regularly.
2024-01-07 18:42:45 -05:00
Donovan Glover
2175863971
chore: Remove dead code
...
Note that I no longer use the untrack-url script.
2024-01-06 00:41:28 -05:00
Donovan Glover
1363c3800f
feat: Add cargo-edit
...
Used for the "cargo upgrade" command, which also updates the Cargo.toml.
Should eventually be upstreamed to cargo. Currently cargo-edit has some
issues with the index it uses, resulting in long loading times.
See: https://internals.rust-lang.org/t/feedback-on-cargo-upgrade-to-prepare-it-for-merging/17101
2024-01-05 23:02:11 -05:00
Donovan Glover
531baa9678
eww: Use default folder icon
...
This seems to go well with more colorful backgrounds overall.
2024-01-05 19:12:27 -05:00
Donovan Glover
4188ae930d
hyprland: Use all backgrounds
...
The year is now 2024.
2024-01-05 19:07:22 -05:00
Donovan Glover
6f2693ed62
mpv: Fullscreen by default
...
Usually this is what we want.
2024-01-02 18:53:56 -05:00
Donovan Glover
7b7d967250
Revert "eww: Switch from fluent icons to candy icons"
...
Note that I may experiment with lutgen to make folder icons that match
the color scheme.
2024-01-02 18:51:49 -05:00
Donovan Glover
5c29be9a01
neovim: Make commenting work with jsx/tsx
2023-12-30 17:36:13 -05:00
Donovan Glover
733cc14b0d
chore: Fix embarrassing typo
2023-12-30 06:17:36 -05:00
Donovan Glover
d44114519a
neovim: Add tailwindcss-colors.nvim
...
May be upstreamed by https://github.com/NixOS/nixpkgs/pull/277632
2023-12-29 19:47:14 -05:00
Donovan Glover
ac3699fd6e
mpv: Drop gpu-hq profile for now
...
This setting causes some videos to experience lagginess on my iGPU. In
the future it may be useful to enable the new profile "high-quality" if
I have a dedicated GPU.
Note that in addition to setting the profile to high-quality, it's also
possible to use "vo=gpu-next".
See: 703f158880
2023-12-29 18:15:49 -05:00
Donovan Glover
859015cbc0
neovim: Add missing eslint capabilities
2023-12-29 17:56:32 -05:00
Donovan Glover
0c3624abd6
neovim: Add sql language server support
2023-12-29 17:54:56 -05:00
Donovan Glover
86351c48f5
fish: Make prisma work outside of dev shell
...
More convenient for me personally.
2023-12-29 17:53:38 -05:00
Donovan Glover
c4e41421da
chore: Simplify formatting
2023-12-29 17:52:47 -05:00
Donovan Glover
360898f626
neovim: Use eslint with nvim-lspconfig
...
Note that sometimes you may need to disable autosave with :ASToggle
since JavaScript code is also automatically formatted on save.
2023-12-29 17:33:52 -05:00
Donovan Glover
c77be65f86
feat: Add cargo-tarpaulin
...
Used for Rust code coverage.
2023-12-21 14:01:51 -05:00
Donovan Glover
73af280971
joshuto: Make previews work for .tsx/.jsx files
2023-12-21 14:00:10 -05:00
Donovan Glover
10f1388912
chore: Fix indentation
2023-12-20 19:22:24 -05:00
Donovan Glover
bd67cf43a9
joshuto: Ensure TypeScript/JavaScript files show previews
2023-12-20 19:18:30 -05:00
Donovan Glover
5a08ca328c
neovim: Use yats-vim for TypeScript syntax highlighting
...
This fixes an issue where `import`s with `type` in them would cause
syntax highlighting to break in neovim.
See: https://github.com/vim/vim/issues/11652
2023-12-20 18:24:06 -05:00
Donovan Glover
7fde54fa58
neovim: Add nvim-surround
...
This classic plugin makes refactoring in languages that use curly braces
much easier.
2023-12-20 18:19:37 -05:00
Donovan Glover
328a912148
neovim: Use :NvimTreeFocus for <leader>a
...
Fixes an issue where the previous binding conflicted with the tagbar not
accepting space keybinds.
2023-12-20 18:16:19 -05:00
Donovan Glover
0d6edc043a
mpv: Use uosc script for ui
...
This script has pretty much everything one would want in a user
interface for mpv, including playlist support.
2023-12-18 03:47:48 -05:00
Donovan Glover
c4827c1b62
mpv: Replace mpv_thumbnail_script with thumbfast
...
There was a recent issue with the mpv thumbnail script that caused
certain videos to spawn many processes in parallel, thus causing 100%
CPU usage.
2023-12-18 03:43:02 -05:00
Donovan Glover
05db074456
hyprland(grimblast): Freeze when taking screenshots
2023-12-13 18:18:18 -05:00
Donovan Glover
40adb9b3d9
neovim: Add cosco-vim
...
I tried this for a few days and although the auto-semicolons were cool,
they'd sometimes get in the way. I haven't used the keybind much at all
however, so I may remove this in the future.
2023-12-13 08:29:09 -05:00
Donovan Glover
5fb3f38f62
chore: Update flake inputs
...
Kernel version is now 6.1.67 to avoid the ext4 data corruption bug.
Additionally, typst-lsp had to be removed since it fails to build. No
solution has been posted in the GitHub issue yet.
2023-12-13 05:39:16 -05:00
Donovan Glover
8c58360fc5
hyprland(swww): Use seasonal backgrounds
...
It's that time of year again.
2023-12-07 19:13:28 -05:00
Donovan Glover
f4b2b6b586
ironbar: Manually set opacity
...
Fixes an issue where nix would show a warning about floatToString being
used.
2023-12-07 19:12:33 -05:00
Donovan Glover
341bfea7fa
eww: Switch from fluent icons to candy icons
2023-12-07 17:48:26 -05:00
Donovan Glover
91cd533c28
neovim: Fix nvim-cmp usage with denols/tsserver
...
This commit removes the duplicate setup {} commands.
It also fixes typst being set up without its respective settings.
2023-12-05 14:40:28 -05:00
Donovan Glover
c9e52534d2
chore: Update flake inputs
...
emmet-language-server is now in nixos-unstable.
2023-12-04 14:34:48 -05:00
Donovan Glover
90f5bd4b59
neovim: Remove denols from nvim-cmp capabilities
...
Fixes an issue where React would not be found in Next.js projects.
2023-12-03 16:46:55 -05:00
Donovan Glover
43ec993d49
neovim: Add tailwindcss language server support
...
Should make working with tailwindcss easier.
2023-12-03 16:27:37 -05:00
Donovan Glover
0920214e98
neovim: Add prisma language server support
2023-12-03 16:20:19 -05:00
Donovan Glover
0b68a42070
neovim: Enable nvim-cmp support for all language servers
2023-12-03 16:10:55 -05:00
Donovan Glover
1ff94843d1
mpv: Simplify osc toggle to ctrl+a
...
I never change the aspect ratio of a video, so overriding this keybind
works well.
2023-12-03 15:57:53 -05:00
Donovan Glover
bf3b794bcb
neovim: Replace emmet-ls with emmet-language-server
...
Note that emmet-language-server isn't in nixos-unstable yet.
See: https://github.com/NixOS/nixpkgs/pull/255524
2023-12-03 15:54:33 -05:00
Donovan Glover
98f0eaf336
neovim: Auto-close tags with nvim-ts-autotag
...
In the rare event that emmet isn't used, nvim-ts-autotag auto-closes
tags when > is typed.
2023-12-03 15:45:22 -05:00