Commit Graph

800 Commits

Author SHA1 Message Date
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
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
Donovan Glover
9842004ba9
neovim: Add community snippets with friendly-snippets
This makes it easier to make for loops and other fun stuff.
2023-12-03 15:39:30 -05:00
Donovan Glover
93bd51bd35
neovim: Add Emmet support
I used Emmet years ago but at some point preferred Pug in Vue. Now that
I use React more, this should make creating tags in JSX easier.

The emmet language server is particularly useful since it becomes
possible to tab complete HTML tags.
2023-12-03 09:07:06 -05:00
Donovan Glover
afc0bcd1f1
neovim: Add autocompletion support with nvim-cmp
Did not expect this to work on the first try but it did. Taken directly
from the nvim-lspconfig wiki.

https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion
2023-12-03 07:59:51 -05:00
Donovan Glover
3b5b6782ca
neovim: Add ctags support with tagbar
5 years later and ctags seem to work better, so I've decided to add them
again mainly for Rust.
2023-12-02 13:34:12 -05:00
Donovan Glover
4593d74d8c
meta: Remove cmus
Not needed since I prefer ncmpcpp and the playback issues I had
previously seem to be fixed now.
2023-12-02 11:08:49 -05:00
Donovan Glover
5beb9ca079
joshuto: Remove deprecated sizemtime
Deprecated in v0.9.6.
2023-12-01 00:27:47 -05:00
Donovan Glover
25a413507d
kitty: Make icons work in scrollback pager
A recent update caused icons to no longer be rendered when using kitty's
scrollback feature. This fixes that.
2023-11-30 23:27:42 -05:00
Donovan Glover
533094c1a9
hyprland: Add playerctl keybinds for mpv 2023-11-30 19:04:50 -05:00
Donovan Glover
36304461f0
hyprland: Remove WLR_NO_HARDWARE_CURSORS
Not needed anymore when outside of a virtual environment.
2023-11-30 18:57:46 -05:00
Donovan Glover
8b6fa08e71
hyprland: Don't dim mpv windows 2023-11-30 18:39:52 -05:00
Donovan Glover
770f8dde0a
hyprland(swww): Fix incorrect background script 2023-11-19 16:11:32 -05:00
Donovan Glover
f4b0c41289
hyprland(swww): Randomize background on all monitors 2023-11-19 06:37:21 -05:00
Donovan Glover
16d5607dbc
joshuto: Make typescript files open with neovim 2023-11-16 16:12:02 -05:00
Donovan Glover
385263f91a
hyprland: Revert seasonal backgrounds 2023-11-16 16:11:09 -05:00
Donovan Glover
f59bd9202a
hyprland: Don't mirror monitors
Not needed anymore since a recent hyprland update fixed the issue where
extended displays would experience lagginess.
2023-11-09 23:07:26 -05:00
Donovan Glover
cc1da27091
neovim: Add treesitter grammars
Fixes an issue with the markdown grammar not being found and adds some
extra features such as highlighting the current indentation line.
2023-10-31 23:45:25 -04:00
Donovan Glover
1415b957b3
hyprland(swww): Use seasonal backgrounds
A very important change.
2023-10-31 11:59:04 -04:00
Donovan Glover
e397e85c30
chore: Upstream sakaya mime type
Makes it possible to open wine applications sandboxed by double clicking
them like regular files in Thunar and other file browsers.
2023-10-30 19:41:57 -04:00
Donovan Glover
f868c7094e
ironbar: Update class for mullvad browser 2023-10-30 14:29:26 -04:00
Donovan Glover
064b220d04
feat: Add cargo feature support
Makes it possible to check the features of crates.
2023-10-29 15:24:34 -04:00
Donovan Glover
b18ccd3dfc
chore: Improve formatting 2023-10-29 15:11:57 -04:00
Donovan Glover
aca473ecb3
direnv: Disable logging
Makes it possible to use direnv without large amounts of text taking up
the terminal screen when changing directories.
2023-10-25 13:46:48 -04:00
Donovan Glover
44cc264f25
neovim: Add typst support
Typst documents may be more maintainable long-term than traditional
documents in TeX format.
2023-10-25 13:38:01 -04:00
Donovan Glover
51530c8403
fish: Use XDG_DATA_DIRS for tauri applications
This fixes an issue where tauri applications would have small text when
ran outside of a nix shell after being built.
2023-10-25 13:26:45 -04:00
Donovan Glover
bab881b769
joshuto: Use icons for correct directory names 2023-10-25 13:25:55 -04:00
Donovan Glover
a0bae642b1
neovim: Add svelte support 2023-10-10 18:23:27 -04:00
Donovan Glover
291e00f102
chore: Update flake inputs 2023-10-10 18:22:08 -04:00
Donovan Glover
8e4723638a
git: Rebase by default when using git pull 2023-10-10 18:18:03 -04:00
Donovan Glover
25b159c9cf
nvim(image-nvim): Limit image width to 40% 2023-09-30 13:16:50 -04:00
Donovan Glover
5d12aaacb0
neovim: Conditionally load denols/tsserver
Makes it possible to use both Deno and Node/Bun projects with the same
config.
2023-09-30 11:08:37 -04:00
Donovan Glover
b8c3b2504f
feat: Add biome 2023-09-30 10:54:06 -04:00
Donovan Glover
7502a044e7
chore: Prefer hash over sha256 2023-09-30 10:39:10 -04:00
Donovan Glover
3a6c2f44ed
feat: Add bun
Will be trying out bun to see how it compares to deno and other tools.
2023-09-12 17:02:23 -04:00
Donovan Glover
06b44290b1
ncmpcpp: Use an existing image as the default 2023-09-12 15:27:28 -04:00
Donovan Glover
1b5b8e827b
joshuto: Use correct directory for downloads 2023-09-12 15:26:29 -04:00
Donovan Glover
b05b274d35
ironbar: Slightly decrease icon size
This makes the bar take up the same amount of space as Microsoft
operating systems.
2023-09-12 15:24:33 -04:00
Donovan Glover
f445bc713b
ironbar: Add name to bar
This makes it possible to do things with the bar such as toggle it
without killing it, however I like the advantages that restarting
ironbar completely give.
2023-09-12 15:22:56 -04:00
Donovan Glover
464fbeb750
qutebrowser: Update downloads directory 2023-09-04 10:55:41 -04:00
Donovan Glover
8274a57b15
ncmpcpp: Update music directory 2023-09-01 13:23:12 -04:00
Donovan Glover
e1c14f0cb4
hyprland: Separate overlay toggle from bar 2023-08-31 19:09:18 -04:00
Donovan Glover
eb6189e51c
meta: Reference original sources for non-trivial code 2023-08-31 19:08:14 -04:00
Donovan Glover
cc0500b3ad
hyprland: Revert gaps_out workaround
-1 is no longer needed due to the patch.
2023-08-31 00:53:10 -04:00
Donovan Glover
aadd410cb4
hyprland(ironbar): Revert back to single wrapper
This works since I fixed the double wrapper issue upstream.
2023-08-31 00:49:26 -04:00
Donovan Glover
b570a7ab50
hyprland: Remove fullscreen opacity workaround
Not needed with newer versions of hyprland.
2023-08-31 00:48:01 -04:00
Donovan Glover
03205ffada
hyprland: Use Super+Shift+Q to close windows
This makes it harder to accidentally close windows.
2023-08-30 16:16:12 -04:00
Donovan Glover
768ca2232c
feat: Replace hyprland-relative-workspace with hyprnome
This also has the advantage of fixing an issue where
hyprland-relative-workspace would prevent new workspaces from being
created in the previous direction when a special workspace was present.
2023-08-30 16:14:50 -04:00
Donovan Glover
6a2b57a6a6
chore: Update to latest nixos-unstable 2023-08-30 15:18:40 -04:00
Donovan Glover
5b58696de6
chore: Fix spacing 2023-08-29 21:00:47 -04:00
Donovan Glover
a15fd23b9b
feat: Style cmus with stylix
Based on https://github.com/averms/base16-cmus
2023-08-29 21:00:15 -04:00
Donovan Glover
45284953bb
hyprland: Blur rofi 2023-08-28 23:46:45 -04:00
Donovan Glover
80797d3b0d
rofi: Increase icon size and number of columns 2023-08-28 23:46:20 -04:00
Donovan Glover
6061667179
hyprland: Toggle rofi with super 2023-08-28 23:45:15 -04:00
Donovan Glover
35f67d03ff
meta: Replace rofi overlay with nixpkgs version
The overlay isn't needed anymore since rofi-wayland was updated in
nixpkgs.
2023-08-28 15:37:56 -04:00
Donovan Glover
e941e20acf
Revert "meta: Remove rofi"
Currently rofi seems like the most feature complete launcher that gets
the job done. I'd rather use it than code a custom solution at the
moment.
2023-08-27 19:12:39 -04:00
Donovan Glover
e6fa09220e
neovim(clipboard-image): Don't prompt for file name
Fixes an issue where this would occasionally break.
2023-08-22 14:53:06 -04:00
Donovan Glover
0c1669e8db
chore: Update to hyprland 0.28.0-unstable-2023-08-15 2023-08-22 12:31:08 -04:00
Donovan Glover
c1766e8aa8
neovim: Add texlive for vimtex 2023-08-19 22:16:15 -04:00
Donovan Glover
8359122544
hyprland: Passthrough keybinds to VM with ctrl+alt
Also useful for preventing keybinds from being used while working on
other things.

Source: https://old.reddit.com/r/hyprland/comments/15puf7x/
2023-08-14 11:26:29 -04:00
Donovan Glover
005b6d6ff9
hyprdim: Dim dialogs 2023-08-14 10:56:56 -04:00
Donovan Glover
f780d3bfbc
fcitx: Add base16 theme 2023-08-14 10:54:07 -04:00
Donovan Glover
d9c5e15ccc
fcitx: Increase font size 2023-08-14 10:53:35 -04:00
Donovan Glover
33835aa6c6
eww: Inline config
Note that the home manager module can't be used here since it requires
configDir.
2023-08-11 15:05:24 -04:00
Donovan Glover
93ac26652e
fix: Use MANROFFOPT for color support in man pages
This fixes a regression where color support stopped working after a
groff update.

References:

- https://github.com/jedsoft/most/issues/18
- 958e73c508
- https://bbs.archlinux.org/viewtopic.php?pid=2113876#p2113876
2023-08-11 14:37:18 -04:00
Donovan Glover
cfd638b04e
hyprland: Show desktop icons on startup 2023-08-07 22:18:13 -04:00
Donovan Glover
ee6095338d
mime-apps: Use sakaya for executable files
Should upstream this to sakaya later.
2023-08-07 22:03:17 -04:00
Donovan Glover
16d0c2554e
hyprland(hyprdim): Add --ignore-leaving-special 2023-08-07 22:01:06 -04:00
Donovan Glover
2f0249a046
chore: Update imports 2023-08-07 22:00:17 -04:00
Donovan Glover
5739a3eaba
meta: Add eww module 2023-08-07 20:44:15 -04:00
Donovan Glover
25539d81eb
meta: Show time with eww when toggling ironbar
This also lets us have windows that take up the full screen while
keeping track of whether or not those windows are actually fullscreen.
2023-08-07 20:24:23 -04:00
Donovan Glover
9228444d6e
hyprland: Add workspace switching with mouse buttons 2023-08-07 20:23:42 -04:00
Donovan Glover
a835b29bfe
hyprland: Don't change focus when moving to special
As far as I can tell, this was a workaround that appears to be fixed
now.
2023-08-07 08:53:12 -04:00
Donovan Glover
bfea1e9629
hyprland(hyprdim): Add --no-dim-when-only 2023-08-06 16:55:53 -04:00
Donovan Glover
d7be8aad20
neovim: Add cargo audit/license
Should probably move this out of neovim later.
2023-08-06 16:53:50 -04:00
Donovan Glover
f1ba5fac74
hyprland: Change wallpapers with super+w 2023-08-01 22:24:30 -04:00
Donovan Glover
87221635f8
hyprland: Show random background on startup 2023-08-01 22:23:57 -04:00
Donovan Glover
38d090d550
ironbar: Decrease translucency
This might be an ideal number for most use cases.
2023-08-01 19:08:08 -04:00
Donovan Glover
9ed706c2a5
hyprland: Downgrade to v0.27.0
The white flash when starting hyprland is a deal breaker for me
personally and I'd rather not have to deal with it. Should hopefully be
fixed in a later release since it seems to be a wlroots issue.
2023-08-01 19:06:20 -04:00
Donovan Glover
d1a78a7a57
meta: Remove hyprbars
Although this was cute, there are simply too many bugs and other
inconveniences to be worth it. For example, the bar cannot be focused
when a workspace has a fullscreen application.
2023-08-01 19:04:43 -04:00
Donovan Glover
8c1eaec846
ironbar: Update favorites selection
Might as well prefer utilities here to look nice. It's unfortunate that
the gimp class changes for every release.
2023-08-01 18:58:46 -04:00
Donovan Glover
563fdc4e3f
hyprland: Try bordersize windowrule
This is kinda cool however v0.27.2 and above appear to introduce a white
flash for me when starting Hyprland. Because of this, I'll probably stay
on v0.27.0 for the time being and only patch things I really want.
2023-08-01 18:55:14 -04:00
Donovan Glover
e3cf378b31
meta: Try hyprbars fork
This was my test of the hyprbars fork. It turns out that the original
version is more useful, although both versions crash whenever reloading
the plugin after unloading it once.
2023-08-01 18:54:26 -04:00
Donovan Glover
750def0398
hyprland: Simplify swww init
By including an image changer in a separate exec-once, swww works as
intended. This enables virtual machines to have a random background on
startup without the abnormally long wait time previously.
2023-08-01 16:27:06 -04:00
Donovan Glover
61be25469c
neovim: Add pnpm
May continue to use yarn in spite of this.
2023-08-01 16:26:15 -04:00
Donovan Glover
93608bf1eb
hyprland: Add hyprbars config
Tested this in a VM and it should look decent.
2023-08-01 16:25:50 -04:00
Donovan Glover
c231825512
neovim: Add cargo-info
As a reminder, the neovim module includes a bunch of additional stuff
used for development. Although convenient, another approach may be
considered in the future.
2023-08-01 12:33:35 -04:00
Donovan Glover
4e4ceeb6fb
feat(neovim): Highlight markdown code blocks
This adds syntax highlighting to code blocks with vim-markdown while
keeping pretty much everything else the same.
2023-08-01 12:16:02 -04:00
Donovan Glover
5f629bf0d6
fix(neovim): Manually toggle git blame
This fixes an issue where git blame would still show a single fixed line
in zen mode previously.
2023-08-01 12:14:24 -04:00
Donovan Glover
6991587294
neovim: Remove markdown conceal
Was causing more issues than problems it solved. Markdown conceal can be
successfully achieved with an external browser window.
2023-08-01 12:12:33 -04:00
Donovan Glover
075e1b6f13
neovim: Don't use tabs for markdown
Not needed since I don't edit logseq files directly nearly as often.
2023-08-01 12:11:19 -04:00
Donovan Glover
7b8eec9d77
pqiv: Add webp support
Surprisingly useful.
2023-08-01 12:10:18 -04:00
Donovan Glover
7c429a374b
hyprland: Add random background script 2023-08-01 12:01:57 -04:00
Donovan Glover
2c9c53481e
hyprland: Add background setter script 2023-08-01 12:01:18 -04:00
Donovan Glover
7ddfe1976f
hyprland: Use super+s to swap monitor workspaces
Arguably more useful when multiple monitors are used.
2023-07-26 18:54:30 -04:00
Donovan Glover
375639abfb
ironbar: Make open application color more subtle 2023-07-26 18:45:27 -04:00
Donovan Glover
480cc873a3
hyprland(swww): Use shorter sleep for non-kvm
This makes starting Hyprland more instantaneous on bare metal.
2023-07-26 18:44:01 -04:00
Donovan Glover
0a60a39a31
treewide: Change Thunar back to thunar
Note sure what happened but the class is thunar now.
2023-07-26 18:26:25 -04:00
Donovan Glover
6c14b37a9f
neovim: Don't trim trailing whitespace on save
Fixes an issue where autosave would cause indentation to be lost due to
editorconfig removing extra whitespace.
2023-07-26 18:24:43 -04:00
Donovan Glover
55c5078919
hyprland(hyprdim): Persist dim
Fixes an issue where the dim would be reset if running hyprctl reload
without dim_inactive set to true in hyprland.conf.
2023-07-26 15:05:18 -04:00
Donovan Glover
a2fe09a166
ironbar: Don't hardcode opacity
Now the opacity will always be 0.05 less than the opacity of the
terminal.
2023-07-26 13:11:49 -04:00
Donovan Glover
b61e2ff951
neovim: Conceal markdown links without vim-markdown
This also conceals some other stuff like JSON strings, but seems to be
worth it overall.
2023-07-26 13:10:02 -04:00
Donovan Glover
56aa91cacf
ironbar: Change thunar to Thunar
Apparently Thunar is the new class name.
2023-07-26 13:07:59 -04:00
Donovan Glover
d32d5e6c33
neovim(image-nvim): Decrease max width/height 2023-07-26 12:50:12 -04:00
Donovan Glover
28ba1ff805
hyprland: Replace dim settings with hyprdim
Now I no longer have to worry about manually toggling dim on and off.
2023-07-26 12:49:09 -04:00
Donovan Glover
d475b5257c
hyprland: Toggle dim_strength
This makes animations work both ways when using dim_inactive.
2023-07-26 12:47:19 -04:00
Donovan Glover
b53c2cc8a8
hyprland: Mirror external monitor
This is unfortunately necessary to fix an issue where the external
monitor wouldn't update its state every few seconds. Not sure what the
issue is since this only occurs in applications when typing and not when
playing back video, for example.
2023-07-26 12:45:36 -04:00
Donovan Glover
723aa4a2e3
hyprland: Fix thunar class
At some point this got changed from thunar to Thunar.
2023-07-26 12:13:54 -04:00
Donovan Glover
13157341b1
librewolf: Don't suggest history by default
Makes it easier for me to see bookmarks.
2023-07-26 12:12:15 -04:00
Donovan Glover
5f0d638c5e
hyprland: Don't dim picture in picture 2023-07-26 11:51:44 -04:00
Donovan Glover
1f80cd691e
neovim(clipboard-image-nvim): Customize image name 2023-07-26 10:02:17 -04:00
Donovan Glover
02f2a2bce4
neovim(clipboard-image-nvim): Change image directory 2023-07-26 10:01:10 -04:00
Donovan Glover
9ae34eb739
neovim: Add syntax highlighting to mdx files 2023-07-26 09:59:44 -04:00
Donovan Glover
38a817b9ff
pqiv: Enable support for svg and other images
This change enables support for all formats imagemagick supports.
2023-07-26 09:59:00 -04:00
Donovan Glover
3fa826e7a2
neovim: Add vim-astro 2023-07-26 09:57:17 -04:00
Donovan Glover
80b95d6bd4
ironbar: Decrease opacity
Makes background colors more noticeable.
2023-07-23 19:40:06 -04:00
Donovan Glover
aa64667d78
neovim: Add clippy 2023-07-22 13:22:27 -04:00
Donovan Glover
03dbc3e3a7
ironbar: Use a more subtle active color 2023-07-21 14:12:50 -04:00
Donovan Glover
87e2cd2b0a
ironbar: Show animation on all button clicks 2023-07-21 14:11:19 -04:00
Donovan Glover
8ddfd87c39
ironbar(label): Add padding 2023-07-21 14:10:10 -04:00
Donovan Glover
7fd5a618ba
ironbar(clipboard): Add padding 2023-07-21 14:09:34 -04:00
Donovan Glover
5ec3ad510b
neovim: Add nvim-autopairs 2023-07-19 18:19:22 -04:00
Donovan Glover
baa4ca1362
neovim: Add astro-language-server 2023-07-19 13:21:11 -04:00
Donovan Glover
07bd6c6ed6
neovim: Add typescript-language-server 2023-07-19 11:26:16 -04:00
Donovan Glover
7907ed5b44
fix(hyprland): Sleep before swww init
This unfortunately fixes a race condition where swww init doesn't work
if started too soon.

See: https://github.com/Horus645/swww/issues/144
2023-07-18 09:04:49 -04:00
Donovan Glover
7ae15b7502
hyprland(ironbar): Remove start delay
Not needed fortunately with ironbar.
2023-07-18 08:38:53 -04:00
Donovan Glover
74a7489230
hyprland(swww): Use default background if none given
This makes it possible to have a default background in virtual machines
without worrying about overriding a background set by the user.
2023-07-17 23:03:35 -04:00
Donovan Glover
adf69e0d7c
chore: Remove unnecessary comments 2023-07-17 22:32:44 -04:00
Donovan Glover
9a8b25bb2c
neovim: Add image-nvim
image-nvim is a new neovim plugin similar to hologram.nvim that adds
support for inline images to neovim.
2023-07-17 22:18:40 -04:00
Donovan Glover
8c10e177f5
ironbar(launcher): Increase icon size 2023-07-17 22:17:32 -04:00
Donovan Glover
7fda85846a
ironbar(launcher): Add back favorites
Might change this later. The main advantage of favorites is that it
becomes trivial to launch various systemd-nspawn containers, although
admittedly the same feat can be achieved through creating .desktop-like
files for thunar.
2023-07-17 22:13:32 -04:00
Donovan Glover
0d8c0e56e4
ironbar(calendar): Highlight selected date 2023-07-17 22:08:10 -04:00
Donovan Glover
d7cc400a20
ironbar(calendar): Add padding between dates 2023-07-17 22:07:10 -04:00
Donovan Glover
81a5a84d39
neovim: Remove hologram-nvim
Not needed anymore since I figured out how to get image-nvim working in
NixOS.
2023-07-17 20:25:45 -04:00
Donovan Glover
bddff06eca
neovim: Add hologram.nvim
For historical purposes, I am adding hologram.nvim in a commit, although
I should be able to replace this with image.nvim.
2023-07-15 21:45:32 -04:00
Donovan Glover
40ca636a51
hyprland: Use ironbar as a menu
Makes things simple and avoids having multiple ways to do the same
thing (launch applications).

Note that two dots are used here since at some point I presumably made
a wrapper inside a wrapper, which should probably be fixed later.
2023-07-15 19:39:11 -04:00
Donovan Glover
e41deda650
ironbar: Add text-shadow
Possibly makes things look better.
2023-07-15 19:02:12 -04:00
Donovan Glover
d367b44e60
neovim: Add clipboard-image-nvim
May need to configure this later.
2023-07-15 18:57:40 -04:00
Donovan Glover
7517e16cd6
hyprland: Add keybind for tessen 2023-07-15 18:56:51 -04:00
Donovan Glover
a60551e060
hyprland: Add saner default swww values 2023-07-15 18:29:23 -04:00
Donovan Glover
2bf9b54992
kitty: Use notify-send for long tasks
Manual invocation prevents automatically triggering a task complete
notification when one isn't wanted.
2023-07-15 18:15:24 -04:00
Donovan Glover
9c4fac0770
ironbar: Add background to focused application 2023-07-15 18:13:17 -04:00
Donovan Glover
c4da3e387a
hyprland: Replace rofi with bemenu
May remove bemenu entirely in favor of only using the taskbar for
critical applications, which reduces complexity.
2023-07-15 18:10:26 -04:00
Donovan Glover
3d96bf1838
xdg-user-dirs: Create directories by default 2023-07-15 12:37:40 -04:00
Donovan Glover
d58fef7511
editorconfig: Don't trim markdown whitespace
Fixes an issue where auto-indents would be automatically removed with
the auto-save plugin enabled. Should probably fix this behavior later
so auto-indent works properly with all files.
2023-07-15 12:35:30 -04:00