mirror of
https://github.com/js0ny/dotfiles.git
synced 2026-03-23 19:22:43 +00:00
chore: reorg
This commit is contained in:
parent
e0a023da4f
commit
1b5c26bc04
54 changed files with 411 additions and 227 deletions
19
nixcfgs/users/js0ny/programs/media/lollypop.nix
Normal file
19
nixcfgs/users/js0ny/programs/media/lollypop.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
username = config.home.username;
|
||||
in {
|
||||
# Note: lollypop is buggy with CJK filenames.
|
||||
# 部分 CJK 文字会显示成 ??,可能和文件的编码有关?而且似乎是 GTK4 都会,GNOME 全家桶的音乐播放器也有这个问题
|
||||
home.packages = with pkgs; [lollypop];
|
||||
dconf.settings = {
|
||||
"org/gnome/Lollypop" = {
|
||||
music-uris = [
|
||||
"file:///home/${username}/Music"
|
||||
];
|
||||
notification-flag = 2;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue