mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add pavucontrol to swaywm packages
This commit is contained in:
parent
cfaf99ee99
commit
1d39721237
1 changed files with 16 additions and 9 deletions
|
|
@ -3,16 +3,22 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
monitorConfig =
|
||||
(
|
||||
map (m:
|
||||
if m.enabled
|
||||
then lib.strings.concatStringsSep "\n" ["output ${m.name} mode ${toString m.width}x${toString m.height}@${toString m.refreshRate}Hz pos ${toString m.x} ${toString m.y} transform ${toString m.transform}" "exec swww img -o ${m.name} ${m.background}"]
|
||||
else "output ${m.name} disable")
|
||||
)
|
||||
config.monitors;
|
||||
in {
|
||||
(map (
|
||||
m:
|
||||
if m.enabled then
|
||||
lib.strings.concatStringsSep "\n" [
|
||||
"output ${m.name} mode ${toString m.width}x${toString m.height}@${toString m.refreshRate}Hz pos ${toString m.x} ${toString m.y} transform ${toString m.transform}"
|
||||
"exec swww img -o ${m.name} ${m.background}"
|
||||
]
|
||||
else
|
||||
"output ${m.name} disable"
|
||||
))
|
||||
config.monitors;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./waybar.nix
|
||||
../swww
|
||||
|
|
@ -37,6 +43,7 @@ in {
|
|||
pulseaudio
|
||||
playerctl
|
||||
brightnessctl
|
||||
pavucontrol
|
||||
];
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue