{"id":15722084,"url":"https://github.com/elvyria/mixxc","last_synced_at":"2025-04-06T14:12:57.939Z","repository":{"id":196216131,"uuid":"695364336","full_name":"Elvyria/Mixxc","owner":"Elvyria","description":"Minimalistic and flavorful volume mixer for widget enthusiasts.","archived":false,"fork":false,"pushed_at":"2025-02-09T16:50:34.000Z","size":430,"stargazers_count":41,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T12:06:54.802Z","etag":null,"topics":["gtk4","gui","linux","pipewire","pulseaudio","relm4","rust","volume-control","wayland"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Elvyria.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-23T00:52:38.000Z","updated_at":"2025-03-19T09:31:49.000Z","dependencies_parsed_at":"2023-12-29T00:25:18.877Z","dependency_job_id":"1e6a56f5-5fe0-4164-9803-d5cf252c557f","html_url":"https://github.com/Elvyria/Mixxc","commit_stats":{"total_commits":218,"total_committers":1,"mean_commits":218.0,"dds":0.0,"last_synced_commit":"a8c4bab78ec2c5350669c0ff76db4f64606b5fbb"},"previous_names":["elvyria/mixxc"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elvyria%2FMixxc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elvyria%2FMixxc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elvyria%2FMixxc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elvyria%2FMixxc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elvyria","download_url":"https://codeload.github.com/Elvyria/Mixxc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492566,"owners_count":20947545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gtk4","gui","linux","pipewire","pulseaudio","relm4","rust","volume-control","wayland"],"created_at":"2024-10-03T22:03:46.290Z","updated_at":"2025-04-06T14:12:57.916Z","avatar_url":"https://github.com/Elvyria.png","language":"Rust","readme":"# Mixxc\n[![Crates.io](https://img.shields.io/crates/v/mixxc?logo=rust)](https://crates.io/crates/mixxc)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow)](https://opensource.org/licenses/MIT)\n\nMixxc is a minimalistic and customizable volume mixer, created to seamlessly complement desktop widgets.  \n\nCurrently, it supports only `pulseaudio` and `pipewire` (through the pulseaudio interface) by utilizing `libpulseaudio` to receive audio events.\n\n![Preview](https://github.com/user-attachments/assets/b64dc1fe-71f7-4a8b-baef-495c7d3e4690)\n\n\n## Installation\nCan be installed from [crates.io](https://crates.io/) with `cargo`:\n\n```sh\ncargo install mixxc --locked --features Sass,Wayland...\n```\n\n## Dependencies\n* [GTK4](https://www.gtk.org/) (4.15.1+)\n* [gtk4-layer-shell](https://github.com/wmww/gtk4-layer-shell) (Feature: Wayland)\n* [libpulseaudio](https://www.freedesktop.org/wiki/Software/PulseAudio)\n* [libxcb](https://xcb.freedesktop.org/) (Feature: X11)\n\n## Features\nSome features can be enabled at compile time.\n* [Accent](https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html) - Inherits the accent color from the system's settings.\n* [Sass](https://sass-lang.com/) - Allows you to use SCSS instead of CSS.\n* [Wayland](https://wayland.freedesktop.org/) - Uses wlr-layer-shell to imitate window positioning.\n* [X11](https://www.x.org/) - Sets WM hints and properties, and repositions the window.\n\n## Usage\n```\nUsage: mixxc [-w \u003cwidth\u003e] [-h \u003cheight\u003e] [-s \u003cspacing\u003e] [-a \u003canchor...\u003e] [-A] [-C] [-m \u003cmargin...\u003e] [-M] [-b \u003cbar\u003e] [-u \u003cuserstyle\u003e] [-k] [-i] [-x \u003cmax-volume\u003e] [-P] [-v]\n\nMinimalistic volume mixer.\n\nOptions:\n  -w, --width       window width\n  -h, --height      window height\n  -s, --spacing     spacing between clients\n  -a, --anchor      screen anchor point: (t)op, (b)ottom, (l)eft, (r)ight\n  -A, --active      show only active sinks\n  -C, --accent      inherit accent color from the system's settings\n  -m, --margin      margin distance for each anchor point\n  -M, --master      enable master volume slider\n  -b, --bar         volume slider orientation: (h)orizontal, (v)ertical\n  -u, --userstyle   path to the userstyle\n  -k, --keep        keep window open\n  -i, --icon        enable client icons\n  -x, --max-volume  max volume level in percent (default: 100; 1-255)\n  -P, --per-process use only one volume slider for each system process\n  -v, --version     print version\n  --help            display usage information\n```\n\n## Customization\nMixxc is built with GTK4 and uses CSS to define its appearance.  \nYou will find the style sheet in your config directory after the first launch.\n```sh\n${XDG_CONFIG_HOME:-$HOME/.config}/mixxc/style.css\n```\nIf you have enabled the Sass feature, it will also look for *.scss and *.sass files.\n```sh\n${XDG_CONFIG_HOME:-$HOME/.config}/mixxc/style.sass\n${XDG_CONFIG_HOME:-$HOME/.config}/mixxc/style.scss\n```\n\n## Tips\n### Anchoring\nIt is often desirable to be able to position widgets relatively to a screen side.  \nTwo flags will help with this: `-a --anchor` and `-m --margin`.  \nEach margin value provided will match every anchor point respectively.  \n```sh\nmixxc --anchor left --anchor bottom --margin 20 --margin 30\n```\n\n### Startup Time\nIf startup seems a bit slow or memory usage seems a bit too high try this:\n```sh\nGSK_RENDERER=cairo GTK_USE_PORTAL=0 mixxc\n```\n\n### Manual Closing\nBy default window will be closed if it looses focus.  \nThis is a workaround for WM's that don't send `close` request to layer-shells under Wayland.  \nIf this behavior is not desirable, you can disable it:\n```sh\nmixxc --keep\n```\n\n### Toggle Window\nIf you want to toggle window with a click of a button, Unix way is the way:\n```sh\npkill mixxc | mixxc\n```\n\n## Troubleshooting\n\n### Environment\nMixxc is developed and tested with:\n* Wayland (Hyprland): `0.45.2`\n* PipeWire: `1.2.6`\n\nIf your setup is different and you experience issues, feel free to file a bug report.\n\n### GTK\nTo get GTK related messages a specific environment variable must be non empty.\n```sh\nGTK_DEBUG=1 mixxc\n```\n\n## Building\nTo build this little thing, you'll need some [Rust](https://www.rust-lang.org/).\n\n```sh\ngit clone --depth 1 https://github.com/Elvyria/mixxc\ncd mixxc\ncargo build --locked --release --features Sass,Wayland...\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felvyria%2Fmixxc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felvyria%2Fmixxc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felvyria%2Fmixxc/lists"}