Commit Graph

3636 Commits

Author SHA1 Message Date
Donovan Glover
54d9750b65
dunst: Show new notifications on top
Seems a bit more natural than having them show up on the bottom.
2024-09-05 17:07:28 -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
2193d86585
dunst: Use base03 for filled bar color
Subtle and light enough to see.
2024-09-05 12:16:17 -04:00
Donovan Glover
c9285617ba
dunst: Decrease border size
Also makes the separator height consistent with the frame width.
2024-09-05 12:14:28 -04:00
Donovan Glover
2873612e25
dunst: Use subtle color for border background 2024-09-05 12:12:57 -04:00
Donovan Glover
04c3941ed3
chore: Improve formatting 2024-09-05 12:11:43 -04:00
Donovan Glover
340ec5cf99
packages: Drop desktop-icons
Unfortunately this isn't as useful as nemo-desktop due to the lack of
text shadow.
2024-09-04 22:29:04 -04:00
Donovan Glover
37787f48ee
dunst: Use different text colors depending on urgency 2024-09-04 20:44:20 -04:00
Donovan Glover
455ad36e56
dunst: Set border color to primary color 2024-09-04 20:43:08 -04:00
Donovan Glover
190da5ed57
picom: Exclude slop from effects
Fixes an issue where maim selection was being affected by picom.
2024-09-04 19:37: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
ecd3ae041b
dwm: Autostart mpdris2 / dunst / avizo
Necessary since these programs wouldn't start properly under .xinitrc.
2024-09-04 19:29:58 -04:00
Donovan Glover
ef1de44b18
packages: Add desktop-icons
Has some bugs and lacks certain features like sorting but seems to work.
2024-09-04 19:28:42 -04:00
Donovan Glover
1e624509bb
ironbar: Remove notification module
This is no longer useful since we're using dunst instead of swaync.
2024-09-04 13:33:24 -04:00
Donovan Glover
45465b8c5e
dunst: Increase notification width 2024-09-04 13:32:56 -04:00
Donovan Glover
e0a13a98ce
dwm: Add cool autostart patch
This is necessary since some programs started with .xinitrc don't work
at all in dwm, such as avizo-service and mpDris2.
2024-09-04 13:17:20 -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
cda5e4d4af
dunst: Remove useless geometry setting
This has been deprecated for a while now.
2024-09-03 23:50:00 -04:00
Donovan Glover
0a7ac98d82
meta: Move batsignal to separate module 2024-09-03 23:35:49 -04:00
Donovan Glover
9d93f39175
dconf(megapixels): Set postprocessor
Should fix an issue where the camera app would previously stop taking
photos on NixOS updates due to changed hashes.
2024-09-03 23:16:10 -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
fe3f38acdd
phosh: Handle background dimming at the package level
Should improve performance since we no longer depend on a background
gradient in CSS.
2024-09-03 22:35:57 -04:00
Donovan Glover
dadee6bb08
dwm: Use avizo for media keys
Also adds support for the microphone mute key.
2024-09-03 21:11:07 -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
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
85e5da19f2
kitty: Drop diff config
I never use kitty diff and it doesn't seem to work in Hyprland anyway
due to the following error:

> [0.215] [glfw error 65544]: process_desktop_settings:
> failed with error: [org.freedesktop.DBus.Error.UnknownMethod]
> No such interface “org.freedesktop.portal.Settings”
> on object at path /org/freedesktop/portal/desktop
2024-09-03 15:10:39 -04:00
Donovan Glover
b44c84b056
chore: Update mobile-nixos to latest commit 2024-09-03 14:59:23 -04:00
Donovan Glover
1dba52fcd0
chore: Update stylix to latest commit 2024-09-02 13:00:28 -04:00
Donovan Glover
1b71076ca1
system: Disable root for containers by default
Notably removes the ability for non-containers to easily have root
disabled, although this shouldn't be wanted in most cases.
2024-09-02 12:18:39 -04:00
Donovan Glover
4c301830d5
packages(stylix-background): Add missing meta attributes 2024-09-02 11:03:36 -04:00
Donovan Glover
29f8b0bd56
docs: Mention Mobile NixOS config 2024-09-02 10:26:24 -04:00
Donovan Glover
f163001035
phone: Update favorite applications list 2024-09-01 20:03:22 -04:00
Donovan Glover
86457e056f
overlays(rofi): Add comment for fetchpatch 2024-09-01 19:56:47 -04:00
Donovan Glover
9d15ab2f68
chore: Fix formatting 2024-09-01 19:44:17 -04:00
Donovan Glover
db0217a3e7
chore: Simplify example config imports 2024-09-01 19:35:17 -04:00
Donovan Glover
648bdf156a
librewolf: Add Japanese search engine 2024-09-01 19:30:42 -04:00
Donovan Glover
ac84cee715
librewolf: Add showdex extension 2024-09-01 18:59:47 -04:00
Donovan Glover
2db228e009
dunst: Don't use systemd service
Necessary while swaync is being used for notifications in Hyprland.
2024-09-01 18:37:20 -04:00
Donovan Glover
f113c763ea
treewide: Drop remaining usage of inherit (pkgs) 2024-09-01 18:29:27 -04:00
Donovan Glover
2a3a3db055
containers: Remove graphical option
It seems like everything works fine without this, so this wasn't
(or is no longer) necessary.
2024-09-01 16:33:41 -04:00
Donovan Glover
64c5b9d38d
meta: Move dwm config to home-manager module
This works since the NixOS module wasn't doing anything that we were
using anyway.
2024-09-01 16:14:21 -04:00
Donovan Glover
665991ef2b
dwm: Make print screen key work 2024-09-01 15:59:09 -04:00
Donovan Glover
d634e4b69c
shell: Add back nix-init
This was broken in a previous nixos-unstable release.
2024-09-01 15:20:20 -04:00
Donovan Glover
0b0deb55b7
tests: Remove desktop import
Fixes an issue where NixOS tests weren't exactly treated as
containers, presumably since they run inside QEMU.

The previous dependency on stylix is no longer necessary since
base16-nvim was upstreamed, although it may be ideal to split
it into its own module at a later date.
2024-09-01 15:12:51 -04:00
Donovan Glover
50f8c3eb00
meta: Replace desktop.container with config.boot.isContainer
No need to say that we're a container when NixOS already handles this.
2024-09-01 14:33:04 -04:00
Donovan Glover
c501f713a5
overlays(rofi): Prefer fetchpatch where possible 2024-09-01 14:20:51 -04:00
Donovan Glover
80794ea75d
phone: Don't save .dng files
Not needed since pictures taken with the camera are rare anyway and
I don't think using the .dng files would produce much better results.
2024-09-01 14:19:16 -04:00
Donovan Glover
939002e2f6
chore: Improve formatting 2024-09-01 14:12:17 -04:00