✨ Grayjay, Imv, updated dependencies
- Added Grayjay flake - Added imv - Set imv as default image viewer - Changed catppuccin homeManagerModules to homeModules - Media dir in home dir for media config - pkg-config for rust development - Removed Loupe image viewer - Moved mpv to media dir
This commit is contained in:
6
home-manager/media/default.nix
Normal file
6
home-manager/media/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./imv.nix
|
||||
./mpv.nix
|
||||
];
|
||||
}
|
10
home-manager/media/imv.nix
Normal file
10
home-manager/media/imv.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ theme, ... }:
|
||||
|
||||
{
|
||||
catppuccin.imv = {
|
||||
enable = true;
|
||||
flavor = theme.flavor;
|
||||
};
|
||||
|
||||
programs.imv.enable = true;
|
||||
}
|
27
home-manager/media/mpv.nix
Normal file
27
home-manager/media/mpv.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ theme, ... }:
|
||||
|
||||
{
|
||||
catppuccin.mpv = {
|
||||
enable = true;
|
||||
flavor = theme.flavor;
|
||||
};
|
||||
|
||||
programs = {
|
||||
fish.shellAliases.mpvl = "mpv --profile=loop";
|
||||
mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
hwdec = "auto-safe";
|
||||
vo = "gpu";
|
||||
profile = "gpu-hq";
|
||||
gpu-context = "wayland";
|
||||
};
|
||||
profiles = {
|
||||
loop = {
|
||||
loop-playlist = "inf";
|
||||
loop-file = "inf";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user