Commit Graph

228 Commits

Author SHA1 Message Date
Donovan Glover
f7d8bbb161
hyprland: open new windows as master
Mimics the behavior of dwm and makes it possible to close opened windows
and return to the previously focused window.
2024-11-19 00:51:08 -05:00
Donovan Glover
98fa1573c4
hyprland: fix renamed shadow options 2024-11-18 02:53:48 -05:00
Donovan Glover
e2e04596bc
hyprland: make audio position changes on key hold 2024-11-17 23:16:30 -05:00
Donovan Glover
2b23c6a931
hyprland: blur kitty by default 2024-11-06 15:23:46 -05:00
Donovan Glover
2d6133fc51
hyprland: don't set volume on startup
This seems to be broken after a recent update caused a race condition.
2024-11-06 15:21:48 -05:00
Donovan Glover
c0ebf438a3
hyprland: decrease split ratio to 0.55 2024-10-31 16:43:31 -04:00
Donovan Glover
f83d1ed67e
hyprland: increase blur size
Should now match the picom blur a bit more.
2024-10-27 10:50:26 -04:00
Donovan Glover
b3e0fbb5b5
hyprland: make volume changes on key hold
Makes it easier to change the volume similar to dwm.
2024-10-27 10:33:36 -04:00
Donovan Glover
3eb1d82798
chore: update flake inputs 2024-10-27 01:01:12 -04:00
Donovan Glover
ec3d3899b9
meta: add audio keys support with playerctl
Actually quite useful now that I've figured out how to do this properly.
2024-10-11 23:43:02 -04:00
Donovan Glover
315a87e8d2
meta: use keybind to open yazi
Seems faster, cooler, and more useful than having desktop icons.
2024-10-10 09:04:54 -04:00
Donovan Glover
421d70a3d8
packages: update osu-backgrounds
It's that time of year again.
2024-10-09 17:42:33 -04:00
Donovan Glover
4c50de5879
hyprland: Depend on dunst-scripts 2024-09-18 14:28:23 -04:00
Donovan Glover
2966070335
hyprland: Remove old eww keybinds 2024-09-18 14:27:49 -04:00
Donovan Glover
21cd3e96da
meta(home-manager): Remove dependency on extraSpecialArgs
Makes copy/pasting easier and removes non-standard arguments in
home-manager modules.
2024-09-09 10:30:00 -04:00
Donovan Glover
cc5ca869ce
treewide(rofi): Show default mode instead of drun 2024-09-08 14:00:15 -04:00
Donovan Glover
1de8bafa4d
meta: Use super+bracketleft for rofi 2024-09-05 20:17:05 -04:00
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
f978f00663
meta: Replace mpdris2-rs with mpdris2
mpdris2 seems to have much greater feature support than mpdris2-rs,
notably the inclusion of lower notification urgency by default and the
ability to start mpdris2 without it showing a stopped notification.

The biggest feature, however, is the possibility to run multiple
mpdris2 instances at the same time. This was impossible to achieve
with mpdris2-rs since it would claim that the bus was already taken.

Notably this enables much smoother usage when running mpdris2 in both
Hyprland and dwm at the same time. Combined with dunst, this enables
seamless notifications between the two environments.
2024-09-04 13:07:37 -04:00
Donovan Glover
6986f725ed
meta: Replace swaync with dunst
It's easier to use the same notification daemon across both X and
Wayland.
2024-09-04 00:05:56 -04:00
Donovan Glover
0a7ac98d82
meta: Move batsignal to separate module 2024-09-03 23:35:49 -04:00
Donovan Glover
956fbce486
meta: Switch from swayosd to avizo
Avizo seemingly has better support than swayosd in dwm, so this change
makes the OSD consistent across both environments.

Long-term it may be useful to figure out why swayosd would tile under
dwm and whether or not it'd be possible to fix upstream.
2024-09-03 18:44:49 -04:00
Donovan Glover
f26cbc1aec
meta: Move hyprlock / hypridle to separate modules
Makes it possible to use the hyprland module without using hypridle and
hyprlock.
2024-09-03 17:21:10 -04:00
Donovan Glover
939002e2f6
chore: Improve formatting 2024-09-01 14:12:17 -04:00
Donovan Glover
0b44a17ca9
chore: Replace callPackage with flake package
Removes the possibility of ../paths breaking.
2024-08-30 15:19:15 -04:00
Donovan Glover
c4d374f63d
hyprland: Drop unused centerwindow keybind
This isn't needed now that hyprland centers floating windows by default.
2024-08-26 00:05:18 -04:00
Donovan Glover
ba127acd62
hyprland: Change passthrough key to super+alt+backspace
Fixes an issue where the passthrough keybind was being executed when
switching ttys.
2024-08-25 12:38:27 -04:00
Donovan Glover
1cede2c75b
chore: Drop unused packages
Note that glib was supposedly added for mounting-related things, but
this should be possible to upstream into the derivation instead if it
hasn't been added already.
2024-08-16 12:52:25 -04:00
Donovan Glover
b513d01715
meta: Merge swaync / swayosd with hyprland module
Helps avoid having modules that are only a single line.
2024-08-16 02:48:41 -04:00
Donovan Glover
3475c5888c
hyprland: Drop old qt environment variables
- QT_AUTO_SCREEN_SCALE_FACTOR is no longer used in Qt6+
  https://doc.qt.io/qt-6/highdpi.html

- QT_QPA_PLATFORM is no longer necessary since it seems like NixOS will
  start Qt applications that support Wayland with it by default
  https://wiki.archlinux.org/title/Anki#Wayland

- QT_WAYLAND_DISABLE_WINDOWDECORATION seems to no longer be necessary
  since this should be handled by the window manager
  https://www.qt.io/blog/2018/12/14/whats-new-wayland-platform-plugin-qt-5-12
2024-08-16 02:26:19 -04:00
Donovan Glover
45386c2279
hyprland: Drop notify-send for connectivity keybind
This should be handled by something constantly checking connectivity
instead.
2024-08-15 23:15:33 -04:00
Donovan Glover
85c89ab496
meta: Move icoextract/thud to thunar module
This helps clarify that icoextract and thud are used with thunar
specifically.
2024-08-15 22:46:05 -04:00
Donovan Glover
44e7c6df4d
hyprland: Drop activate-linux
This was cute but not really useful for daily operation.
2024-08-15 22:43:48 -04:00
Donovan Glover
de7df4e114
hyprland: Drop unused mpv playerctl keybindings
I never ended up using these as much as I thought I would and getting
rid of them helps to simplify the code base a bit.
2024-08-15 22:40:20 -04:00
Donovan Glover
27582bfa85
hyprland: Don't use notify-send for grimblast
Not needed since grimblast has built-in notifications.
2024-08-15 22:28:11 -04:00
Donovan Glover
6c34cce882
treewide(nix): Remove duplicate attribute name usage
Found thanks to nixd showing different colors for these.
2024-08-10 20:55:46 -04:00
Donovan Glover
2297fb41e3
treewide: Drop usage of inherit (pkgs)
Having to change the package list in two places was a bit redundant. We
can also use `with` patterns now since nixd warns if there are escaping
variables being used.

Note that variables used in multiple places are kept to make it easier
to recognize that those variables must be changed together. Also note
that inherit (pkgs) inside of mkMerge are currently kept to reduce the
diff.
2024-08-07 16:40:58 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
Donovan Glover
24e1e92ece
Revert "hyprland: Theme Qt applications with stylix update"
Now back to kvantum since the stylix update had issues.
2024-08-03 12:56:10 -04:00
Donovan Glover
f73e302f2e
chore: Fix nixd / statix errors
I'm okay with editing hardware-configuration.nix now that I understand
how it works.
2024-08-03 01:52:47 -04:00
Donovan Glover
71bcb6fdcf
meta: Use wl-clipboard-rs on phone
Makes it easier to take screenshots since Phosh doesn't support
automatically saving screenshots by default.
2024-08-01 16:26:11 -04:00
Donovan Glover
5806fd96cf
chore: Drop unused packages
- kanjidraw: Online alternatives with radicals etc. are better
- dmenu-wayland: Breaks with multiple monitors
- obs: Easier to use wf-recorder
- wallust: Easier to use stylix
2024-07-25 16:55:10 -04:00
Donovan Glover
646aeadbc0
hyprland: Theme Qt applications with stylix update
Kvantum is no longer necessary, which results in a more KDE-like
experience when it comes to the themed applications.
2024-07-24 16:40:02 -04:00
Donovan Glover
288c132afa
hyprland: Drop tessen
Was a bit too buggy with the auto-typing, so I'd rather just copy
straight from the terminal instead.
2024-07-24 16:10:02 -04:00
Donovan Glover
a364b76da2
Revert "ironbar: Add attempt at using volume module"
The volume module currently has a bug that causes audio output to stop
working when plugging in new devices.

Upstream issue: https://github.com/JakeStanger/ironbar/issues/673
2024-07-22 13:55:12 -04:00
Donovan Glover
eec082cb01
meta: Include libnotify at the hyprland level
Not really needed inside the swaync module.
2024-07-22 13:06:31 -04:00
Donovan Glover
f3037ae4b8
hyprland: Shorten window rules 2024-07-20 11:38:22 -04:00
Donovan Glover
942f626000
hyprland: Remove old mouse bind keybinds
This wasn't that reproducible since the keybinds were set with piper so
I'd rather not have it in the config.
2024-07-19 15:46:44 -04:00
Donovan Glover
8f45534128
hyprland: Float mullvad browser by default
Floating by default is necessary so the browser is initialized with
the correct window size.
2024-07-18 21:26:23 -04:00
Donovan Glover
787dda981b
Reapply "meta: Replace dunst with swaync"
Might be able to use swaync after all if I avoid using the mpris module
with it. This has the advantage of being supported by ironbar, which
would make missing notifications less likely.
2024-07-18 13:30:20 -04:00