Commit Graph

89 Commits

Author SHA1 Message Date
Donovan Glover
b7b19601fe
meta: Replace avizo with dunst scripts
Avizo had some issues that ultimately made me return to the old and
reliable dunst. For example, the home-manager service would fail to
restart after the computer was idle for a set amount of time.

The way avizo manages its window also resulted in compositors like
Hyprland and picom showing a blur artifact when avizo tried to fade
itself. Ultimately using dunst simplifies things and avoids having
to look in two different places for notifications.
2024-09-05 17:04:19 -04:00
Donovan Glover
406e7db865
overlays(avizo): Update to latest commit
Includes both the icon fix and the positioning fix.
2024-09-04 19:33:28 -04:00
Donovan Glover
b750144ee9
overlays(avizo): Fix positioning breakage
This change reverts a recent commit to the avizo repository that
broke positioning in X window managers like dwm.
2024-09-03 22:41:57 -04:00
Donovan Glover
cf3ef3d59d
overlays: Add avizo overlay to fix icon size
Doesn't seem possible to patch binary diffs like this with fetchpatch.
2024-09-03 19:06:11 -04:00
Donovan Glover
86457e056f
overlays(rofi): Add comment for fetchpatch 2024-09-01 19:56:47 -04:00
Donovan Glover
c501f713a5
overlays(rofi): Prefer fetchpatch where possible 2024-09-01 14:20:51 -04:00
Donovan Glover
078fd93168
Revert "overlays: Update picom to v12-rc2 for animations"
After trying the new picom animations for a bit they're a bit too janky
compared to the animations in Hyprland. The "geometry" trigger
replicated the tiling animation when swapping windows, however this came
at the cost of transparency being broken during the animation and the
easing in general not being comparable to Hyprland.

Further issues include the usage of animations breaking fade in/out
support for windows, which I found less intrusive than the appear /
disappear presets with not-so-subtle easing. Using the geometry trigger
also meant that switching tags in dwm had a slide in effect, which felt
disruptive compared to the usual feeling of dwm.

Other issues included the increased probability of things not being
drawn correctly (for example, an animation that "hangs" while in the
middle of animating) and a slightly annoying fade effect every time
windows changed in size such as when toggling fullscreen.

The config used is below for reference, however after trying picom
animations dwm feels considerably better without them.

```
animations = (
  {
    triggers = ["open"];
    preset = "appear";
    scale = 0.5;
  },
  {
    triggers = ["close"];
    preset = "disappear";
    scale = 0.5;
  },
  {
    triggers = ["geometry"];
    preset = "geometry-change";
    duration = 0.5;
  },
);
```
2024-08-23 20:17:36 -04:00
Donovan Glover
d058a3bd70
overlays: Update picom to v12-rc2 for animations
Trying this out with dwm and it seems to work. Note that we aren't using
the windowmap patch since it causes windows such as kitty to not focus
properly when switching between tags.
2024-08-23 18:20:20 -04:00
Donovan Glover
2155dc793c
overlays: Drop neovim-unwrapped
Not interested in rebuilding neovim every time just for the desktop icon
to work when I don't use it anyway.
2024-08-15 14:43:09 -04:00
Donovan Glover
7b7028ed68
chore: Update to latest nixos-unstable release
- Removed ironbar overlay as it's no longer needed
- Removed broken packages that don't build with Ruts 1.80.0
2024-08-15 13:46:22 -04:00
Donovan Glover
accf30ec0b
ironbar: Update to latest commit
Also patches an issue where Mullvad VPN would crash ironbar if
the tray module was enabled.
2024-08-04 11:34:40 -04:00
Donovan Glover
817629fb0a
chore: Update to latest nixos-unstable release 2024-08-03 19:44:23 -04:00
Donovan Glover
1d0296c209
overlays: Format with nixfmt-rfc-style 2024-08-03 14:32:56 -04:00
Donovan Glover
3f10f44bb9
Revert "chore: Update to latest nixos-unstable release"
pass and qutebrowser depend on pykeepass and I'd rather not remove them
at this time. See: https://github.com/NixOS/nixpkgs/pull/331310
2024-08-01 13:45:44 -04:00
Donovan Glover
acca42a7cf
chore: Update to latest nixos-unstable release
Hopefully this doesn't break anything.

Removed old packages and overlays now upstreamed.
2024-08-01 13:34:54 -04:00
Donovan Glover
f5e0a08a30
overlays: Patch rofi to fix touchpad scrolling
Upstream issue: https://github.com/lbonn/rofi/issues/134
2024-07-23 16:02:22 -04:00
Donovan Glover
7debc58d55
overlays: Update xdg-desktop-portal-hyprland to 1.3.3
See https://github.com/hyprwm/xdg-desktop-portal-hyprland/releases/tag/v1.3.3
2024-07-23 00:38:04 -04:00
Donovan Glover
d1cd4a9f27
overlays(ironbar): Update to latest commit 2024-07-17 19:16:10 -04:00
Donovan Glover
7a95a8c4fd
overlays(hyprland): Drop keyboard focus patch
Would rather not have to worry about compiling Hyprland if I can avoid
it since I've already compiled it so many times already.
2024-07-15 17:02:27 -04:00
Donovan Glover
550c0579f5
overlays: Patch hyprland to fix touch keyboards
Fixes both Squeekboard and wvkbd, however the former still has more
issues.
2024-07-14 14:23:11 -04:00
Donovan Glover
ce5f3ea6d7
ironbar: Overlay to newer version for Hyprland v0.40.0+
This is part of updating Hyprland to v0.41.0.
2024-06-13 05:13:14 -04:00
Donovan Glover
96b3752117
hyprland: Lock version to v0.39.1-patched
Note that using a separate fork is necessary since overlaying flakes
seems to be non-trivial here.

Also note that previously the nixpkgs hyprland was being started from
greetd. This fixes that.
2024-06-12 14:50:44 -04:00
Donovan Glover
4222ef30e6
Revert "chore: Update to latest nixos-unstable release"
Latest changes break a bit too many things including ironbar. Auto-save
in neovim is delayed a bit, which could have fixed a bug but will take
some getting used to.

The update brings crackling audio issues to osu! wine again, so more
investigating will need to be done to find a solution for that. Overall
seems like most wine programs broke, so a new wine prefix could be in
order.

Additionally, Librewolf now has some unexpected keybinding behavior with
Ctrl+L + Ctrl+C resulting in the letter `c` being displayed instead of
copying like before.
2024-05-20 12:35:08 -04:00
Donovan Glover
e29def5e49
chore: Update to latest nixos-unstable release
Now on Hyprland v0.40.0, which works but breaks ironbar.
2024-05-20 11:48:22 -04:00
Donovan Glover
55ba37da88
overlays: Drop zola
No longer necessary since I no longer use zola and would rather not deal
with unnecessarily compiling it.
2024-05-20 11:46:30 -04:00
Donovan Glover
c193b2b2cf
overlays: Overlay neovim to make nvim.desktop work in thunar 2024-05-13 10:36:55 -04:00
Donovan Glover
4d3cb6c027
chore: Prefer hash over sha256 2024-05-12 11:55:47 -04:00
Donovan Glover
a59f04fa8a
hyprland: Add patch to fix fcitx window focus issue
See: https://github.com/fcitx/fcitx5/issues/1031
2024-04-29 17:33:07 -04:00
Donovan Glover
7c1f8f451d
chore: Update flake inputs 2024-04-29 13:42:11 -04:00
Donovan Glover
65c815d155
phinger-cursors: Downgrade from 2.0 to 1.1 (again)
2.0 introduces some kind of breaking change that results in the cursor
appearing larger than usual, which I haven't been able to find an answer
for. The 1.1 cursor has been great already, so I'll probably stick with
that until further notice.
2024-04-18 21:30:27 -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
8fb2ebe050
phinger-cursors: Downgrade from 2.0 to 1.1
Not sure why but apparently this new version of phinger-cursors broke
the cursor theme in Hyprland. Downgrading solves the problem, and I
don't really have a need for a "new and improved" cursor theme.
2024-04-18 20:04:32 -04:00
Donovan Glover
f422b9e6ed
feat: Upgrade from kitty 0.31.0 to 0.34.0
CJK fonts seem to finally be fixed and look reasonably good in the
latest version of kitty, so compiling it ourselves is no longer needed.
2024-04-17 11:26:28 -04:00
Donovan Glover
8b49bbe103
overlays: Overlay hyprland to 0.39.1
So far this hasn't broken anything despite not using the wlroots from
upstream.
2024-04-17 11:12:02 -04:00
Donovan Glover
35de7f8e5a
overlays: Remove srb2
Not needed anymore now that the srb2 changes have been merged upstream.
2024-04-09 10:28:18 -04:00
Donovan Glover
63624f2fbb
overlays: Remove unnecessary parentheses 2024-04-07 08:37:19 -04:00
Donovan Glover
bc44af4825
meta: Switch to upstream stylix
Fixes an issue where the base16-schemes overlay wasn't being applied
presumably due to the separate nixosModule usage.

This removes Qt theming support, so it may be better to simply overlay
base16-schemes inside the module instead.
2024-04-01 05:35:27 -04:00
Donovan Glover
5674d3ed81
feat(nix): Automatically output all overlays
Now that I have more experience with nix, I know how to write an
expression that automatically outputs all the overlays in the
repository, as well as automatically import them inside the nixos
configuration.
2024-03-31 18:51:17 -04:00
Donovan Glover
da0b9b3ae6
meta(nix): Derive attribute values of outputs
This makes it possible to programmatically use all the outputs in a
flake without having to manually specify each one individually, useful
for having one main nix-config that can be used with other flakes and
system configurations.
2024-03-31 17:49:09 -04:00
Donovan Glover
71fe986e34
meta: Prefer self in default.nix
I originally wrote default.nix files to "import all files in a given
directory" however this turns out to not be necessary when flakifying a
configuration and defining all modules, overlays, and packages as
outputs.

Instead of making these "default.nix" files the source of truth for all
imports, it should be more useful to make the flake.nix the source of
truth and programmatically use attribute values as needed.
2024-03-31 17:28:12 -04:00
Donovan Glover
18acfd0749
meta(flake.nix): Add overlays as outputs
Should make it easier for other repositories to use the overlays from
this repository.
2024-03-31 06:21:47 -04:00
Donovan Glover
491e0aca38
overlays(kitty): Patch wlroots copying bug
This fixes an issue where copying text would break until changing
workspaces and consequently windows.

This *was* fixed in 0.32.0 as a result of [1], however kitty 0.33.1 with
the recent fontconfig workaround patch[2] ends up showing CJK characters
with a very thin weight, causing them to be inconsistent relative to the
surrounding text and more difficult to read.

[1]: https://github.com/kovidgoyal/kitty/issues/6890
[2]: d2c21ee297
2024-03-30 15:12:40 -04:00
Donovan Glover
47d92838ee
chore: Update to latest nixos-unstable release
Updates hyprland to 0.37.1 among other things.
2024-03-29 10:07:04 -04:00
Donovan Glover
dd862ac7aa
meta: Drop eza overlay
The CJK + icons bug seems to be fixed in newer versions of eza.
2024-03-25 11:56:14 -04:00
Donovan Glover
a169b39f8c
packages: Drop alejandra
Not needed anymore since nixfmt-rfc-style exists.
2024-03-25 11:49:04 -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
319dc3480c
overlays(srb2): add startupWMClass to desktop item
Fixes an issue with the application showing up as a question mark after
being launched in ironbar.
2024-03-16 14:24:56 -04:00
Donovan Glover
ce79700f6a
overlays: Update hyprlock to 0.2.0
Might fix an issue with the lock screen crashing when dpms is used with
multiple monitors.
2024-03-13 14:05:45 -04:00
Donovan Glover
546b0f720a
overlays: Update hyprland/hyprlang to fix hyprctl bugs
Hyprland 0.36.0 changes the config quite a bit. Updating Hyprland to the
latest commit on main and hyprlang to 0.5.0 fixes a lot of the bugs that
were immediately caught after this release.
2024-03-08 21:22:47 -05:00
Donovan Glover
71a1350732
overlays: Add base16-schemes
Necessary since an update caused the YAML structure to change. Will be
able to remove this once the Qt pull request for stylix gets merged
upstream.

Old: 2b6f2d0677/3024.yaml
New: ae4ce8b0d1/base16/3024.yaml
2024-02-19 08:27:02 -05:00