Commit Graph

74 Commits

Author SHA1 Message Date
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
Donovan Glover
b05b274d35
ironbar: Slightly decrease icon size
This makes the bar take up the same amount of space as Microsoft
operating systems.
2023-09-12 15:24:33 -04:00
Donovan Glover
f445bc713b
ironbar: Add name to bar
This makes it possible to do things with the bar such as toggle it
without killing it, however I like the advantages that restarting
ironbar completely give.
2023-09-12 15:22:56 -04:00
Donovan Glover
38d090d550
ironbar: Decrease translucency
This might be an ideal number for most use cases.
2023-08-01 19:08:08 -04:00
Donovan Glover
8c1eaec846
ironbar: Update favorites selection
Might as well prefer utilities here to look nice. It's unfortunate that
the gimp class changes for every release.
2023-08-01 18:58:46 -04:00
Donovan Glover
375639abfb
ironbar: Make open application color more subtle 2023-07-26 18:45:27 -04:00
Donovan Glover
0a60a39a31
treewide: Change Thunar back to thunar
Note sure what happened but the class is thunar now.
2023-07-26 18:26:25 -04:00
Donovan Glover
a2fe09a166
ironbar: Don't hardcode opacity
Now the opacity will always be 0.05 less than the opacity of the
terminal.
2023-07-26 13:11:49 -04:00
Donovan Glover
56aa91cacf
ironbar: Change thunar to Thunar
Apparently Thunar is the new class name.
2023-07-26 13:07:59 -04:00
Donovan Glover
80b95d6bd4
ironbar: Decrease opacity
Makes background colors more noticeable.
2023-07-23 19:40:06 -04:00
Donovan Glover
03dbc3e3a7
ironbar: Use a more subtle active color 2023-07-21 14:12:50 -04:00
Donovan Glover
87e2cd2b0a
ironbar: Show animation on all button clicks 2023-07-21 14:11:19 -04:00
Donovan Glover
8ddfd87c39
ironbar(label): Add padding 2023-07-21 14:10:10 -04:00