waybar: Use myxer as a graphical audio mixer
This commit is contained in:
parent
734a910a90
commit
34c1d0aadb
@ -6,7 +6,7 @@ in mkHost config {
|
||||
userName = "alexander";
|
||||
hostName = "miku";
|
||||
primaryInterface = "enp6s0";
|
||||
overlays = [ "nur" "unstable" "simple" "custom" "emacs" ];
|
||||
overlays = [ "nur" "unstable" "stable" "simple" "custom" "emacs" ];
|
||||
hardwareImports = [ "amdgpu" "amd" ];
|
||||
programImports = [
|
||||
"zsh" "git" "mpv" "tmux" "emacs" "firefox" "i18n" "gamemode" "gnome" #"gnome-terminal"
|
||||
@ -112,6 +112,17 @@ in mkHost config {
|
||||
gnome.gnome-keyring.enable = true;
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
# sway
|
||||
#"_JAVA_AWT_NONREPARENTING" = 1;
|
||||
|
||||
# Wayland
|
||||
"QT_QPA_PLATFORM" = "wayland-egl";
|
||||
"ECORE_EVAS_ENGINE" = "wayland-egl";
|
||||
"ELM_ENGINE" = "wayland-egl";
|
||||
"SDL_VIDEODRIVER" = "wayland";
|
||||
};
|
||||
|
||||
# TODO: Move into modules
|
||||
systemd.user.services = {
|
||||
scream = {
|
||||
|
@ -44,6 +44,9 @@
|
||||
on-click = "${pkgs.wlogout}/bin/wlogout";
|
||||
tooltip = "false";
|
||||
};
|
||||
"pulseaudio" = {
|
||||
on-click = "${pkgs.stable.myxer}/bin/myxer";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -16,6 +16,7 @@ in {
|
||||
});
|
||||
nur = import ./nur.nix pkgs;
|
||||
unstable = importWrapper ./unstable.nix;
|
||||
stable = importWrapper ./stable.nix;
|
||||
custom = import ./custom.nix pkgs;
|
||||
simple = import ./simple.nix;
|
||||
surface = import ./surface.nix pkgs;
|
||||
|
21
overlays/stable.nix
Normal file
21
overlays/stable.nix
Normal file
@ -0,0 +1,21 @@
|
||||
# NOTE: pkgs is unused but there for consistency with nur.nix
|
||||
{
|
||||
lib, ...
|
||||
}: final: prev:
|
||||
|
||||
let
|
||||
stableTarball =
|
||||
fetchTarball
|
||||
https://github.com/NixOS/nixpkgs/archive/nixos-21.05.tar.gz;
|
||||
in {
|
||||
stable = import stableTarball {
|
||||
# TODO
|
||||
config = {
|
||||
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"firmwareLinuxNonfree" "microcodeAmd" "microcodeIntel"
|
||||
"steam" "steam-original" "steam-runtime"
|
||||
"discord"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user