Commit Graph

221 Commits

Author SHA1 Message Date
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
Donovan Glover
40c7b04a9a
chore: Clean up language specifiers
- Removed useless /* bash */ specifier
- Used new hyprlang specifier for Hyprland
- Removed or replaced old /* config */ specifiers
2024-07-18 11:00:34 -04:00
Donovan Glover
a2f21d1eca
chore: Update to latest nixos-unstable release
Seems to work so far and comes with the icoextract fix and the walker
update.
2024-07-15 20:28:44 -04:00
Donovan Glover
b3cfdaab9a
ironbar: Add attempt at using volume module
This was my attempt at using the volume module, however I'd rather not
have to deal with using the small sliders that are extremely difficult
to see with the GTK theme I'm using.

I tried changing the colors with color, background, and border-color,
however I wasn't able to achieve the appearance I wanted, and disabling
the built-in popup results in a buggy left-clicking experience.
2024-07-15 19:45:44 -04:00
Donovan Glover
8abb714021
hyprland: Use new seasonal backgrounds
It's that time of year again.
2024-07-15 18:24:29 -04:00
Donovan Glover
b877855580
dual-function-keys: Prefer media keys over Super+F1/F2
Should make these keys easier to use and understand.
2024-07-15 17:02:18 -04:00
Donovan Glover
986df40078
hyprland: Remove touch-specific stuff
Will stop trying to make Hyprland work on mobile devices due to all the
issues with it for now.

For future reference, some issues include:

- Touch events not registering as touches, thus breaking applications
  that have touch support like LibreWolf with FriendlyFox.
- OSK support in general being not there yet with the best keyboard
  Squeekboard not working and wvkbd not being comfy enough to use.
- Screen size in general being small already so having multiple apps
  side-by-side is mostly useless, especially when the OSK interferes
  with this as well.
2024-07-15 12:08:47 -04:00
Donovan Glover
a772d0e164
hyprland: Attempt to use hide on touch feature
This worked but broke when changing the display from e.g. 200% scaling
to 100% scaling. Since being able to easily change the scaling of
Hyprland was one of the main reasons I wanted to try Hyprland over
Phosh, I don't really have a use case for Hyprland on touch devices at
this moment, especially with all the drawbacks of using it on such a
small screen and without hardware acceleration.
2024-07-15 11:52:45 -04:00