Commit Graph

12 Commits

Author SHA1 Message Date
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
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
6f2693ed62
mpv: Fullscreen by default
Usually this is what we want.
2024-01-02 18:53:56 -05:00
Donovan Glover
ac3699fd6e
mpv: Drop gpu-hq profile for now
This setting causes some videos to experience lagginess on my iGPU. In
the future it may be useful to enable the new profile "high-quality" if
I have a dedicated GPU.

Note that in addition to setting the profile to high-quality, it's also
possible to use "vo=gpu-next".

See: 703f158880
2023-12-29 18:15:49 -05:00
Donovan Glover
0d6edc043a
mpv: Use uosc script for ui
This script has pretty much everything one would want in a user
interface for mpv, including playlist support.
2023-12-18 03:47:48 -05:00
Donovan Glover
c4827c1b62
mpv: Replace mpv_thumbnail_script with thumbfast
There was a recent issue with the mpv thumbnail script that caused
certain videos to spawn many processes in parallel, thus causing 100%
CPU usage.
2023-12-18 03:43:02 -05:00
Donovan Glover
1ff94843d1
mpv: Simplify osc toggle to ctrl+a
I never change the aspect ratio of a video, so overriding this keybind
works well.
2023-12-03 15:57:53 -05:00
Donovan Glover
22fffef12b
mpv: Toggle osc with ctrl+shift+a 2023-07-03 23:09:42 -04:00
Donovan Glover
42d1d8bcd6
mpv: Don't fullscreen by default
Makes mpv act similar to other applications.
2023-07-03 23:09:10 -04:00
Donovan Glover
d3ae9cbe61
mpv: Limit floating window size 2023-06-25 09:16:02 -04:00
Donovan Glover
7316153e37
chore: Formatting 2023-06-22 11:30:32 -04:00
Donovan Glover
877ce570bf
meta: Move home modules up one directory
This is possible since each home-manager module is now its own
self-contained nix file.
2023-06-16 12:13:26 -04:00