diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-26 12:16:50 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-26 12:16:50 -0700 |
| commit | 3ffbfbf5199d7cf7751d7911692b1b0198f63e46 (patch) | |
| tree | 10d462a9a72791898841f9b14a0f06505efc6ae3 | |
| parent | cf1c46509c26d2ce05be730f04ee043d4154f44b (diff) | |
home: desktop: add cmus desktop entry
| -rw-r--r-- | roles/home/desktop/cmus.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/home/desktop/cmus.nix b/roles/home/desktop/cmus.nix index 26ec2f1..bc1cc3e 100644 --- a/roles/home/desktop/cmus.nix +++ b/roles/home/desktop/cmus.nix @@ -5,6 +5,13 @@ lib.mkIf config.home.roles.desktop.music { cmus ]; + xdg.desktopEntries.cmus = { + name = "cmus"; + genericName = "Music Player"; + exec = "${pkgs.kitty}/bin/kitty ${pkgs.cmus}/bin/cmus"; + categories = [ "Music" "Player" "Audio" "ConsoleOnly" ]; + }; + xdg.configFile."cmus/rc".text = let c = config.theme.colors; in '' set auto_expand_albums_follow=false set pause_on_output_change=true |