Commit graph

10 commits

Author SHA1 Message Date
2ac966be49
treewide: global refactor towards a better module structure
Initially, I was using a weird combination of options in order to apply
my theme dynamically. I was setting a read-only option from inside my
modules, which was then used in every application that required it. What
I ended up doing is refactoring everything in order to be inside of my
theme module, and automatically configured when enabled, without doing
any mkMerge/mkIf shenanigans in my other pieces of configuration. This
is healthier, although it should be split up as the theme/default.nix
got quite big.
2024-11-26 18:01:46 +01:00
84c8dc0920
treewide: implement notifications with swaync
Implemented notifications with SwayNotificationCenter, as well as theming using
the custom theme module. Some Waybar code had to be updated too, and was
also simplified in order to be more consistent with the new
SwayNotificationCenter implementation.
2024-11-26 15:47:10 +01:00
1561a2075e
home/programs/waybar: decrease padding between icons 2024-11-21 19:31:13 +01:00
0cedd04b81
home/programs/waybar: add battery status for charging 2024-11-21 19:30:57 +01:00
f7e78e3cea
home/programs/waybar: add wifi strength as icon 2024-11-21 19:10:44 +01:00
f4779c6fd4
home/programs/waybar: simplify conditional styling 2024-11-21 18:38:51 +01:00
f06229cc33
treewide: conditionally add theming 2024-11-21 17:44:42 +01:00
32971e91bf
treewide: theme module refactor
I decided to refactor how the theme module works. The idea is, that I
wanted originally a module that I could give a base16 scheme name to,
and use that globally in my config. However, scheme only took the base16
scheme name without any checks, which was pretty bad. I ended up
creating a new option, schemeName, that scheme is computed from. It then
makes the whole configuration cleaner, and avoids long inputs
interpolations with the scheme name.
2024-11-21 15:51:01 +01:00
00bb0ea051
treewide: remove ironbar 2024-11-21 09:57:08 +01:00
8358a2ba12
treewide: configure waybar
commit fce8d778d5
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Thu Nov 21 09:49:00 2024 +0100

    treewide: add waybar configuration

commit 858431bc35
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Thu Nov 21 09:48:51 2024 +0100

    system/programs/fonts: add nerd fonts symbols only

commit 8a225b4763
Author: Anthony Rodriguez <anthony@nezia.dev>
Date:   Thu Nov 21 09:47:00 2024 +0100

    modules: add a theme enable option
2024-11-21 09:49:45 +01:00