Commit Graph

3113 Commits

Author SHA1 Message Date
Donovan Glover
3a8f3bcd32
ironbar: Let mullvad handle notifications
Simplifies things a bit.
2024-07-15 18:13:12 -04:00
Donovan Glover
61b5a5dd31
home-manager: Add chromium config
Fixes issues encountered with xwayland + ironbar and fcitx5 not
working with the wayland version.

See: https://wiki.archlinux.org/title/Chromium#Native_Wayland_support
2024-07-15 17:02:38 -04:00
Donovan Glover
7a95a8c4fd
overlays(hyprland): Drop keyboard focus patch
Would rather not have to worry about compiling Hyprland if I can avoid
it since I've already compiled it so many times already.
2024-07-15 17:02:27 -04:00
Donovan Glover
b877855580
dual-function-keys: Prefer media keys over Super+F1/F2
Should make these keys easier to use and understand.
2024-07-15 17:02:18 -04:00
Donovan Glover
986df40078
hyprland: Remove touch-specific stuff
Will stop trying to make Hyprland work on mobile devices due to all the
issues with it for now.

For future reference, some issues include:

- Touch events not registering as touches, thus breaking applications
  that have touch support like LibreWolf with FriendlyFox.
- OSK support in general being not there yet with the best keyboard
  Squeekboard not working and wvkbd not being comfy enough to use.
- Screen size in general being small already so having multiple apps
  side-by-side is mostly useless, especially when the OSK interferes
  with this as well.
2024-07-15 12:08:47 -04:00
Donovan Glover
a772d0e164
hyprland: Attempt to use hide on touch feature
This worked but broke when changing the display from e.g. 200% scaling
to 100% scaling. Since being able to easily change the scaling of
Hyprland was one of the main reasons I wanted to try Hyprland over
Phosh, I don't really have a use case for Hyprland on touch devices at
this moment, especially with all the drawbacks of using it on such a
small screen and without hardware acceleration.
2024-07-15 11:52:45 -04:00
Donovan Glover
65d8295a04
Revert "desktop: Use はちまるポップ font on phone"
This was an interesting experiment however it wasn't very practical
since text became difficult to read and the wider width of the font
broke a lot of programs on the small PinePhone screen.
2024-07-15 11:38:57 -04:00
Donovan Glover
9ce417830e
desktop: Don't bloat with phone conditionals
Should make things easier to manage now that we've technically tried
Hyprland with gestures but prefer Phosh for usability.
2024-07-15 11:37:31 -04:00
Donovan Glover
bd1fc2b6f6
packages: Update osu-backgrounds 2024-07-15 10:28:18 -04:00
Donovan Glover
3ef29d27c2
meta: Add back hyprland to phone
Will be trying this again since Hyprland offers a substantial
performance improvement over Phosh and hardware accelerated videos
are broken anyway with the lower cpu speed.
2024-07-14 21:28:40 -04:00
Donovan Glover
051c903154
meta: Move phosh config to specialization
This is part of attempting to use Hyprland over Phosh (again) for
more control over things.
2024-07-14 21:12:03 -04:00
Donovan Glover
6d9149dbab
Revert "hyprland: Add attempt at using hyprscroller" 2024-07-14 16:32:42 -04:00
Donovan Glover
c105eda0b6
hyprland: Add attempt at using hyprscroller
Note that this wasn't actually that useful on the pinephone due to
how overview mode is handled and how windows are shown in general.
2024-07-14 16:31:21 -04:00
Donovan Glover
85616db318
Reapply "hyprland: Add attempt at using wvkbd" 2024-07-14 14:26:15 -04:00
Donovan Glover
550c0579f5
overlays: Patch hyprland to fix touch keyboards
Fixes both Squeekboard and wvkbd, however the former still has more
issues.
2024-07-14 14:23:11 -04:00
Donovan Glover
8d73151486
Revert "hyprland: Add attempt at using wvkbd"
Not sure why this doesn't work anymore but I'd rather use Squeekboard if
I can simply due to it being a lot more convenient to type on.
2024-07-14 09:52:36 -04:00
Donovan Glover
1a1280c287
hyprland: Add attempt at using wvkbd
Squeekboard was misbehaving so I thought I'd have better luck with
wvkbd, but it turns out that this isn't the case. For some reason,
nothing can be typed at all which is even worse than Squeekboard.
2024-07-14 09:49:32 -04:00
Donovan Glover
f16aa7ecd1
hyprland: Add initial touch support with hyprgrass
This seems to work and should help us replace phosh with hyprland
long-term.
2024-07-14 09:30:13 -04:00
Donovan Glover
9a3c1976ab
Revert "xdg: Hide desktop entries with home-manager"
As alluded to previously I'd rather whitelist applications that show in
a launcher than exclude them.
2024-07-14 09:22:18 -04:00
Donovan Glover
15dbd547d2
xdg: Hide desktop entries with home-manager
This commit is mainly for documenting purposes since I'd rather not
have to maintain a list of desktop entries to exclude.
2024-07-14 09:20:59 -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
2f5cd4c0db
chore: Update to latest nixos-unstable release
Note that icoextract has been removed for the time being since I
accidentally broke it in a nixpkgs PR.
2024-07-14 09:18:33 -04:00
Donovan Glover
c784a8122f
hyprland: Simplify mpv commands 2024-07-12 12:42:38 -04:00
Donovan Glover
554630bf9a
nix(containers): Prefer inheriting from outputs 2024-07-12 12:28:10 -04:00
Donovan Glover
1b49b750ba
hyprland: Add batsignal for battery notification 2024-07-11 19:32:32 -04:00
Donovan Glover
d9222585a5
Revert "meta: Replace dunst with swaync"
Unfortunately swaync appears to *significantly* slow down the boot
process, so sticking with dunst ensures that everything works properly.
2024-07-11 18:47:19 -04:00
Donovan Glover
4bd63595a3
hyprland: Drop hyprspace for now
The less code the easier it is to maintain.
2024-07-11 18:28:48 -04:00
Donovan Glover
d09172cc8b
hyprland: Fix invalid dispatcher on startup from plugin
This works strangely enough.
2024-07-11 18:04:03 -04:00
Donovan Glover
190bcab7f8
packages: Remove upstreamed hyprland plugins
Now in nixpkgs.
2024-07-11 17:28:49 -04:00
Donovan Glover
8fb63f0712
meta: Replace ncmpcpp song change script with mpdris2-rs
This greatly simplifies the config and enables the usage of song change
notifications outside of ncmpcpp.
2024-07-11 07:58:16 -04:00
Donovan Glover
7ae7af253c
packages: Add mpdris2-rs
Should be upstreamed into nixpkgs later. Basically makes music
notifications a lot more useful for modern notification daemons.
2024-07-11 07:55:21 -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
0879043b17
meta: Replace dunst with swaync
Seems to work so far and should let us have a cooler way to access the
notification history.
2024-07-10 22:14:27 -04:00
Donovan Glover
c348eb69d7
Revert "zathura: Fix opaque highlight color"
Shouldn't be needed anymore now that we're using the latest stylix
commit. Note that I don't care enough about this to use 0.3 highlight
transparency instead of 0.5.
2024-07-10 00:12:14 -04:00
Donovan Glover
23b970e750
phone: Use custom backgrounds with phosh
Seems to make using phosh more interesting than without, although I'd
like to try using Hyprland again instead.
2024-07-09 23:46:19 -04:00
Donovan Glover
737d0e2d42
desktop: Use はちまるポップ font on phone
Might revert this later. Mainly used for context switching and to make
the PinePhone more fun to use.
2024-07-08 14:15:50 -04:00
Donovan Glover
219e5d1b0b
hypridle: Use minimum screen brightness
Prevents the screen from increasing in brightness when the original
value is lower.
2024-07-08 14:08:08 -04:00
Donovan Glover
5c9f94c4ce
phone: Don't build unnecessary packages 2024-07-08 14:07:23 -04:00
Donovan Glover
837b37d834
hyprland: Add script to toggle internal laptop display
The auto-left ensures that the external monitor is always on the right.
2024-07-08 11:25:15 -04:00
Donovan Glover
44a2f7e995
hyprland: Use monitor on right with high refresh rate
Fixes two distinct issues: One where the monitor positions would
previously get mixed up and one where high refresh rate wasn't the
default.
2024-07-08 10:38:25 -04:00
Donovan Glover
3e1247b1d8
packages: Add hyprscroller
Haven't tested but this should work since it builds.
2024-07-07 20:54:03 -04:00
Donovan Glover
71be159fc2
packages: Add hypr-dynamic-cursors
Builds successfully but haven't tested.
2024-07-07 20:46:27 -04:00
Donovan Glover
8488ec962f
packages: Add hyprfocus
Builds but haven't tested yet.
2024-07-07 20:38:52 -04:00
Donovan Glover
72c8cd6b96
packages: Add hyprgrass
Could be useful for making Hyprland more viable on the PinePhone, which
would help avoid all the issues with Phosh.
2024-07-07 20:12:37 -04:00
Donovan Glover
19fd97003c
packages: Add hycov (again)
Might be able to upstream hycov into nixpkgs now that plugin support
exists.
2024-07-07 20:11:06 -04:00
Donovan Glover
c9b79ccfb2
packages: Add nadesiko3
Adds the Japanese programming language なでしこ. Note that an upstream
lockfile would be ideal before merging the PR in nixpkgs.
2024-07-07 20:10:42 -04:00
Donovan Glover
a9d96a06d9
hyprland: Migrate gaps script from bash to fish
Makes the code base more consistent when everything is written in one
shell language.
2024-07-07 13:19:58 -04:00
Donovan Glover
375d85cd76
hypridle: Disable laptop keyboard backlight on dim
Also restores the previous state when resuming activity.
2024-07-07 11:00:58 -04:00
Donovan Glover
aa61279c71
hyprland: Add notification on wifi toggle 2024-07-07 10:45:33 -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