Commit Graph

3615 Commits

Author SHA1 Message Date
Donovan Glover
fc11acbe79
meta: Move phone config to separate module
Makes it possible to enable phone support for different devices in the
future.

Note that programs.man.generateCaches in home-manager is handled at the
system level to avoid having to later override it with mkForce.
2024-09-09 13:23:41 -04:00
Donovan Glover
5790f1bbde
system: Determine isPhone from programs.calls.enable
Removes the redundant phone option and enables the usage of isPhone in
other modules besides system without having to import it.
2024-09-09 11:52:08 -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
4b5d240ebd
meta(home-manager): Determine isPhone from nixosConfig
Simplifies things a bit since we no longer depend on a phone variable,
thus making the individual files easier to copy/paste.
2024-09-08 23:14:43 -04:00
Donovan Glover
9e59527e9a
neovim(nvim-tree): Automatically focus opened file 2024-09-08 21:53:34 -04:00
Donovan Glover
0b720603ba
phone: Move xdg config to home-manager modules 2024-09-08 21:23:49 -04:00
Donovan Glover
5df2225472
phone: Move pinephone video script to separate package
Now it's possible to use the video recording script outside of fish.
2024-09-08 19:29:34 -04:00
Donovan Glover
58e227efc0
phone: Move dconf config to dconf module 2024-09-08 19:09:10 -04:00
Donovan Glover
f8876167f0
phone: Move gtk config to gtk module
This is part of simplifying the phone module to make it as consistent
with the rest of the home-manager environment as possible.
2024-09-08 14:46:09 -04:00
Donovan Glover
f70894196c
xdg-user-dirs: Set desktop to home directory
Some programs use the desktop and won't do anything if the desktop
directory isn't specified.
2024-09-08 14:01:03 -04:00
Donovan Glover
cc5ca869ce
treewide(rofi): Show default mode instead of drun 2024-09-08 14:00:15 -04:00
Donovan Glover
424edb7828
meta: Remove nemo-desktop
This was interesting but I prefer the hacker feel and simplicity of no
desktop icons since it makes using different backgrounds easier.
2024-09-08 12:44:52 -04:00
Donovan Glover
d538e2c8fa
desktop: Remove unused options
Since the goal of this nix-config is to make a consistent environment
across any number of systems, having options goes against this.

If these configuration values need to be changed, they should affect all
systems using the config by default.
2024-09-08 11:54:08 -04:00
Donovan Glover
8d402cdad7
Revert "dwm: Document attempt at using yambar with anybar"
Not worth getting rid of an already well-working dwm bar for yambar
since it'd also require more work on the Hyprland side.
2024-09-07 20:10:18 -04:00
Donovan Glover
f2c4e51a98
dwm: Document attempt at using yambar with anybar
This was my attempt at using yambar in both Xorg and Wayland with the
anybar dwm patch however starting yambar resulted in the session being
unresponsive until yambar was killed from another tty.
2024-09-07 20:06:30 -04:00
Donovan Glover
5a72abce97
dwm: Start polkit-gnome-authentication-agent-1 2024-09-06 11:10:00 -04:00
Donovan Glover
c654273f92
packages(dunst-scripts): Show for 1 second 2024-09-06 10:50:05 -04:00
Donovan Glover
f7ea988d1c
ironbar: Use dunst scripts for volume up/down 2024-09-06 10:49:35 -04:00
Donovan Glover
5c4eed77f7
librewolf: Remove default search engines 2024-09-05 21:05:05 -04:00
Donovan Glover
cc5f5de728
dwm: Fix incorrect renaming of dmenucmd
Forgot that this gets used in the source code.
2024-09-05 20:55:16 -04:00
Donovan Glover
f82faa7c40
chore: Update to latest nixos-unstable release 2024-09-05 20:18:24 -04:00
Donovan Glover
1de8bafa4d
meta: Use super+bracketleft for rofi 2024-09-05 20:17:05 -04:00
Donovan Glover
94607665c6
dwm: Include muted status in bar 2024-09-05 20:14:15 -04:00
Donovan Glover
027baae6ef
ironbar: Include muted status 2024-09-05 20:01:43 -04:00
Donovan Glover
b49b90a72f
ironbar: Remove useless function
Leftovers from the past.
2024-09-05 19:58:51 -04:00
Donovan Glover
9ff3c97151
librewolf: Add invidious extension
Note that to significantly improve video quality DASH can be enabled in
the settings. This may become the default in the future.
2024-09-05 19:11:09 -04:00
Donovan Glover
43230b87b8
dwm: Only update bar if dwm is running
Fixes an issue where the script would continue to run after
quitting dwm.
2024-09-05 18:14:22 -04:00
Donovan Glover
e99b5916db
dwm: Move autostart programs out of .xinitrc 2024-09-05 17:59:33 -04:00
Donovan Glover
3f9ed977cf
dwm: Increase tag amount from 3 to 6 2024-09-05 17:28:00 -04:00
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