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
8f15d851ad
ironbar: Sleep before getting volume
...
Fixes a race condition where the volume didn't show in time.
2024-08-03 19:50:31 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style
2024-08-03 14:22:47 -04:00
Donovan Glover
d963032159
treewide(stylix): Use withHashtag where possible
2024-08-03 13:28:03 -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
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
790a7a59fe
ironbar: Add notifications module
...
This seems to work good enough for now, but the icon won't be
immediately updated.
2024-07-21 17:08:26 -04:00
Donovan Glover
e959cd52ea
ironbar: Change primary color to new stylix one
...
This changes the primary color from orange to blue.
2024-07-20 11:40:52 -04:00
Donovan Glover
838dedede9
ironbar: Drop tray for now
...
Currently the tray shows duplicate icons and crashes when Mullvad VPN is
started, making it less than ideal for daily use.
2024-07-18 13:33:05 -04:00
Donovan Glover
9368bdc58a
ironbar: Fix volume sliders not showing properly
...
Now it's possible to actually see the volume sliders.
2024-07-17 18:50:51 -04:00
Donovan Glover
2e721b1cdf
ironbar: Add back volume popup
...
The on-click was extremely buggy so the popup should be preferred where
possible.
2024-07-17 18:49:52 -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
b5fff96a91
ironbar: Don't show battery status if no battery
2024-07-15 18:27:51 -04:00
Donovan Glover
3a8f3bcd32
ironbar: Let mullvad handle notifications
...
Simplifies things a bit.
2024-07-15 18:13:12 -04:00
Donovan Glover
b58ff821d6
ironbar: Increase sleep time before fetch
...
Fixes a race condition where the location would show up as
disconnected.
2024-07-14 09:19:23 -04:00
Donovan Glover
e4c968bf75
meta: Replace custom scripts with swayosd
...
No idea why I didn't do this before but this significantly simplifies
things and makes the experience nicer overall.
2024-07-10 22:28:46 -04:00
Donovan Glover
552d2a1956
ironbar: Sleep before fetching mullvad location
...
Fixes an issue where mullvad would report the device as offline before
connecting to a server. Only happens in newer versions of nixxpkgs.
2024-07-07 10:12:43 -04:00
Donovan Glover
2050b758ab
home-manager: Use string variable for notify-send
...
Since the variable has to be a string anyway, wrapping the entire
command in it reduces complexity a bit.
2024-07-06 11:17:57 -04:00
Donovan Glover
307a7fb543
home-manager: Use extraSpecialArgs for shared variables
...
Makes it possible to avoid inconsistencies with duplicate code.
2024-07-06 11:15:13 -04:00
Donovan Glover
08cc18133d
ironbar: Add battery indicator support with upower
...
It turns out that I'd rather have a battery indicator than having to
`cat /sys/class/power_supply/BAT0/capacity` all the time.
Depends on upower and results in the battery indicator always being
shown even when virtualized.
2024-05-13 11:06:18 -04:00
Donovan Glover
50d788ab4d
ironbar(mullvad): Localize new server location
2024-05-03 07:49:01 -04:00
Donovan Glover
6fceabf0fc
ironbar: Update script for new mullvad status
...
Prevents the status from showing when not connected.
2024-04-22 22:18:59 -04:00
Donovan Glover
6348c26aae
meta: Drop hycov for now
...
hycov is being updated again, which is cool, but I couldn't make the
latest version work with the hyprland overlay I'm currently using, and
I'd rather not have to worry about all the additional inputs from the
hyprland flake.
Overall I recall using it a lot at first, but then rarely if ever as
time went on. Once 0.39.1 gets merged into nixos-unstable, it will be
interesting to see how hyprexpo compares to hycov.
2024-04-17 11:38:34 -04:00
Donovan Glover
bfd55ef40a
chore(nix): Inherit builtins at bottom
2024-04-09 09:19:29 -04:00
Donovan Glover
b9cabc0e45
ironbar: Change volume on left/right click
2024-04-08 08:30:46 -04:00
Donovan Glover
e0606c4590
ironbar: Replace volume polling with watch script
...
Makes changes instantaneous and avoids polling.
2024-04-08 08:12:43 -04:00
Donovan Glover
a83409f8e6
ironbar(mullvad): Show server identifier in notification
2024-04-08 07:05:09 -04:00
Donovan Glover
c62c7189a5
ironbar: Watch mullvad instead of polling
...
Fixes an issue where logs would be filled with mullvad status requests.
2024-04-08 06:28:37 -04:00
Donovan Glover
074b019656
ironbar: Remove non-essential favorites
...
This puts the focus more on individual discovery when it comes to using
applications like anki.
2024-04-06 13:54:38 -04:00
Donovan Glover
e2e8971eb3
chore: Simplify variable usage
...
Changes made:
- Preferred "inherits" where possible
- Removed unnecessary comments
- Added variables to avoid duplicate strings
- Reduced usage of "with x;"
2024-04-05 13:30:39 -04:00
Donovan Glover
721ead4572
chore: Inherit builtins where possible
...
Possibly makes things easier to read.
2024-04-04 17:56:01 -04:00
Donovan Glover
a1b9cf218d
meta: Begin migrating packages to workflow-specific modules
...
Long-term this should make it easy to include all the GUI programs with
the desktop module and all the CLI programs with the shell module, as
well as the ability to easily disable sets of unneeded packages.
2024-04-04 08:12:16 -04:00
Donovan Glover
b8ad062cec
nix: Use lib.singleton where possible
2024-04-02 18:53:56 -04:00
Donovan Glover
a4bdf7a076
chore(nix): Prefer builtins.toJSON where possible
2024-04-02 14:46:28 -04:00
Donovan Glover
ba6806a37a
ironbar: Prefer non-latin characters
...
Goes with the aesthetic.
2024-04-01 09:50:00 -04:00
Donovan Glover
993179c4fd
ironbar: Cleanup launcher favorites
...
Removed a few less used applications.
2024-03-30 18:29:50 -04:00
Donovan Glover
9ee9d1c927
ironbar: Add new mullvad location
...
Should continue adding these as they come up.
2024-03-30 18:25:32 -04:00
Donovan Glover
3374dde006
ironbar: Add overview button for hycov
...
Note that on_mouse_enter is used instead of on_click_left to avoid an
issue where the focus of hycov is lost after clicking on the bar.
2024-03-30 12:28:57 -04:00
Donovan Glover
c5bfcdfa69
ironbar: Localize mullvad status
2024-03-09 00:02:19 -05:00
Donovan Glover
4e397bb310
ironbar: Decrease mullvad polling interval
2024-01-31 07:27:11 -05:00
Donovan Glover
0f30e0fdb9
ironbar: Style start menu based on id
...
Makes it possible to use padding on the label instead of the bar.
2024-01-31 07:25:47 -05:00
Donovan Glover
9032c5e7e0
ironbar: Add left padding for bar
...
Makes the spacing more consistent with the right side.
2024-01-31 05:33:44 -05:00
Donovan Glover
bb54cc3ab4
ironbar: Add padding for script/tray modules
2024-01-30 18:09:50 -05:00
Donovan Glover
460978aa43
ironbar: Change mullvad location on click
2024-01-30 18:08:31 -05:00
Donovan Glover
baeee11328
ironbar: Add volume indicator
2024-01-29 18:33:10 -05:00
Donovan Glover
84d7abfbfb
ironbar: Show mullvad status
...
Only shows when connected.
2024-01-28 10:53:50 -05:00
Donovan Glover
455a9d65f0
ironbar: Replace clipboard with start menu
...
Note that on_mouse_enter is used instead of on_click_left since there's
currently a bug where clicking anywhere on the bar will repeat the last
on_click_left event.
2024-01-28 10:47:32 -05:00
Donovan Glover
cfac2336bf
ironbar: Show tray in bar
2024-01-28 05:19:18 -05:00
Donovan Glover
f4b2b6b586
ironbar: Manually set opacity
...
Fixes an issue where nix would show a warning about floatToString being
used.
2023-12-07 19:12:33 -05:00
Donovan Glover
f868c7094e
ironbar: Update class for mullvad browser
2023-10-30 14:29:26 -04:00